From d8df7e2d61b839f6d7cff9a38695b52e365eb942 Mon Sep 17 00:00:00 2001 From: alberto Date: Wed, 17 Jan 2018 17:02:51 +0000 Subject: [PATCH] Criar novas contas no MD (issue 10487) git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78106 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180117_1130__mantis10487.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/db/migration/V20180117_1130__mantis10487.sql diff --git a/src/db/migration/V20180117_1130__mantis10487.sql b/src/db/migration/V20180117_1130__mantis10487.sql new file mode 100644 index 000000000..0277b09c2 --- /dev/null +++ b/src/db/migration/V20180117_1130__mantis10487.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate + 'DROP SEQUENCE MDCONTA_SEQ'; + + execute immediate + 'CREATE SEQUENCE MDCONTA_SEQ INCREMENT BY 1 START WITH 1000 NOCACHE ORDER NOCYCLE'; + + exception when object_exists then null; +end;