diff --git a/sigi/migrations/20111125_diagnosticos_responsavel.sql b/sigi/migrations/20111125_diagnosticos_responsavel.sql new file mode 100644 index 0000000..b9980cc --- /dev/null +++ b/sigi/migrations/20111125_diagnosticos_responsavel.sql @@ -0,0 +1,7 @@ +BEGIN; + +-- deletando colunas da CasaLegislativa +ALTER TABLE "diagnosticos_diagnostico" ADD COLUMN "responsavel_id" integer NOT NULL REFERENCES "servidores_servidor" ("id"); +ALTER TABLE "diagnosticos_equipe" DROP COLUMN "is_chefe"; + +COMMIT;