From d89e6a55902bdc79a2f5f4c90ffbf393c2c7d970 Mon Sep 17 00:00:00 2001 From: "alexandre.lima" Date: Tue, 20 Feb 2018 20:27:10 +0000 Subject: [PATCH] =?UTF-8?q?fixes=20bug=20#10259=20-=20Revis=C3=A3o=20pelo?= =?UTF-8?q?=20Wallisson=20e=20Codereview=20Valdevir?= 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@79049 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180220_1603__mantis10259.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20180220_1603__mantis10259.sql diff --git a/src/db/migration/V20180220_1603__mantis10259.sql b/src/db/migration/V20180220_1603__mantis10259.sql new file mode 100644 index 000000000..84502f034 --- /dev/null +++ b/src/db/migration/V20180220_1603__mantis10259.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'ALTER TABLE ASIENTO_EXCLUSIVO ADD USUARIO VARCHAR(20) NULL'; + execute immediate 'ALTER TABLE ASIENTO_EXCLUSIVO ADD AGENCIA VARCHAR(80) NULL'; + exception when dup_val_on_index then null; +end; \ No newline at end of file