diff --git a/src/db/migration/V20170222_1556__mantis8614.sql b/src/db/migration/V20170222_1556__mantis8614.sql new file mode 100644 index 000000000..5c8ec7888 --- /dev/null +++ b/src/db/migration/V20170222_1556__mantis8614.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'CREATE TABLE INTEGRACAO_SAP (CAJA_ID NUMBER(15,0))'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20170223_1128__mantis8614.sql b/src/db/migration/V20170223_1128__mantis8614.sql new file mode 100644 index 000000000..7449ce4c3 --- /dev/null +++ b/src/db/migration/V20170223_1128__mantis8614.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'CREATE SEQUENCE DADOSPAGTO_SEQ INCREMENT BY 1 MAXVALUE 9999999 MINVALUE 1 CACHE 20'; + exception when object_exists then null; +end; \ No newline at end of file