-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #585 from prefeiturasp/story/110690
Story/110690
- Loading branch information
Showing
9 changed files
with
4 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
delete from alternativa where not exists (select id from questao where id = questao_id); | ||
ALTER TABLE public.alternativa ADD CONSTRAINT questao_id_fk FOREIGN KEY (questao_id) REFERENCES public.questao(id); |
2 changes: 2 additions & 0 deletions
2
scripts/V137__CRIAR_FK_ALTERNATIVA_ID_TABELA_QUESTAO_ALUNO_RESPOSTA.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
delete from questao_aluno_resposta where not exists (select 1 from alternativa a where a.id = alternativa_id) and alternativa_id is not null | ||
ALTER TABLE public.questao_aluno_resposta ADD CONSTRAINT alternativa_id_fk FOREIGN KEY (alternativa_id) REFERENCES public.alternativa(id); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/SME.SERAp.Prova.Aplicacao/Interfaces/UseCase/IPropagacaoCacheUseCase.cs
This file was deleted.
Oops, something went wrong.
88 changes: 0 additions & 88 deletions
88
src/SME.SERAp.Prova.Aplicacao/UseCase/PropagacaoCacheUseCase.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters