From 1a51fc6b794f75988170ced12be2317db2f2d49d Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Wed, 1 Feb 2017 19:32:56 +0000 Subject: [PATCH] erro flyway git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@65548 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161219_1645__mantis8360.sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/db/migration/V20161219_1645__mantis8360.sql b/src/db/migration/V20161219_1645__mantis8360.sql index 23f0eb634..13eecfa98 100644 --- a/src/db/migration/V20161219_1645__mantis8360.sql +++ b/src/db/migration/V20161219_1645__mantis8360.sql @@ -1 +1,7 @@ -alter table VENDA_EMBARCADA add NUMDIV VARCHAR2(11); +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'alter table VENDA_EMBARCADA add NUMDIV VARCHAR2(11)'; + exception when object_exists then null; +end;