From b1c6e57b9abff50aa70ba477da4d205cd512958a Mon Sep 17 00:00:00 2001 From: "bruno.neves" Date: Mon, 13 Mar 2017 18:52:21 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#8360=20-=20corrigido=20script=20?= =?UTF-8?q?de=20cria=C3=A7=C3=A3o=20da=20tabela.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@66777 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170119_1058__mantis8360.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/db/migration/V20170119_1058__mantis8360.sql b/src/db/migration/V20170119_1058__mantis8360.sql index 78c1744d6..5e982dcf0 100644 --- a/src/db/migration/V20170119_1058__mantis8360.sql +++ b/src/db/migration/V20170119_1058__mantis8360.sql @@ -2,7 +2,7 @@ declare object_exists exception; pragma exception_init (object_exists , -00955); begin -CREATE TABLE +execute immediate 'CREATE TABLE EMBARCADA_LIMITES ( @@ -13,11 +13,12 @@ CREATE TABLE AVISO_BILHETE NUMBER(15) NOT NULL, AVISO_DIV NUMBER(15) NOT NULL, AVISO_DIAS NUMBER(15) NOT NULL - ); + );' exception when object_exists then null; end; begin + execute immediate ' CREATE SEQUENCE EMBARCADA_LIMITES_SEQ INCREMENT BY 1 START WITH 1 MAXVALUE 9999999999999999999999999999 -MINVALUE 1 NOCYCLE CACHE 20 NOORDER; +MINVALUE 1 NOCYCLE CACHE 20 NOORDER;' exception when object_exists then null; end; \ No newline at end of file