From 1e331b0f62af77172f2ffb8813cd374aeee435eb Mon Sep 17 00:00:00 2001 From: walace Date: Wed, 9 Oct 2019 15:36:48 +0000 Subject: [PATCH] fixes bug#15119 qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98175 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20190905_1654__mantis15119.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/db/migration/V20190905_1654__mantis15119.sql b/src/db/migration/V20190905_1654__mantis15119.sql index 01881185a..b9cd6ea5a 100644 --- a/src/db/migration/V20190905_1654__mantis15119.sql +++ b/src/db/migration/V20190905_1654__mantis15119.sql @@ -15,4 +15,12 @@ begin )'; exception when table_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'CREATE SEQUENCE "CONF_TOTEM_SEQ" INCREMENT BY 1 START WITH 1 NOCACHE ORDER NOCYCLE'; + exception when object_exists then null; end; \ No newline at end of file