From 883cd275695751df15ccb5a9c900c8573c32aea7 Mon Sep 17 00:00:00 2001 From: wilian Date: Fri, 24 Feb 2017 14:25:57 +0000 Subject: [PATCH] fixes bug #8614 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@66264 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170222_1556__mantis8614.sql | 7 +++++++ src/db/migration/V20170223_1128__mantis8614.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20170222_1556__mantis8614.sql create mode 100644 src/db/migration/V20170223_1128__mantis8614.sql 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