diff --git a/src/db/migration/V20190208_1520__mantis13539.sql b/src/db/migration/V20190208_1520__mantis13539.sql new file mode 100644 index 000000000..b906be90c --- /dev/null +++ b/src/db/migration/V20190208_1520__mantis13539.sql @@ -0,0 +1,11 @@ +declare + begin + execute immediate 'CREATE SEQUENCE FISCAL_J1 START WITH 1 INCREMENT BY 1'; + exception when others then null; +end; +/ +declare + begin + execute immediate 'CREATE SEQUENCE FISCAL_J2_SEQ START WITH 1 INCREMENT BY 1'; + exception when others then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20190208_1520__mantis13539.sql b/src/db/postgresql/migration/V20190208_1520__mantis13539.sql new file mode 100644 index 000000000..98a0a6cdc --- /dev/null +++ b/src/db/postgresql/migration/V20190208_1520__mantis13539.sql @@ -0,0 +1,6 @@ +DO $$ +BEGIN + CREATE SEQUENCE FISCAL_J1 INCREMENT BY 1 START WITH 1; + CREATE SEQUENCE FISCAL_J2 INCREMENT BY 1 START WITH 1; +END +$$; \ No newline at end of file