diff --git a/src/db/migration/V20180913_1732__mantis12147.sql b/src/db/migration/V20180913_1732__mantis12147.sql new file mode 100644 index 000000000..ae949882d --- /dev/null +++ b/src/db/migration/V20180913_1732__mantis12147.sql @@ -0,0 +1,5 @@ +declare + begin + execute immediate 'ALTER TABLE PARADA_COD_ORGAOCONCEDENTE MODIFY CODIGO VARCHAR2(9)'; + exception when others then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20180913_1732__mantis12147.sql b/src/db/postgresql/migration/V20180913_1732__mantis12147.sql new file mode 100644 index 000000000..e3ebbb0db --- /dev/null +++ b/src/db/postgresql/migration/V20180913_1732__mantis12147.sql @@ -0,0 +1,7 @@ +DO $$ +BEGIN + ALTER TABLE PARADA_COD_ORGAOCONCEDENTE MODIFY (CODIGO VARCHAR2(9)); + + EXCEPTION WHEN others THEN NULL; +END +$$; \ No newline at end of file