From 8e87d0c45e041683daadf5a0746c0736dac13896 Mon Sep 17 00:00:00 2001 From: frederico Date: Fri, 1 Dec 2017 16:37:52 +0000 Subject: [PATCH] bug #10253 totem trunk git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@76929 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171130_1124__mantis10253.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20171130_1124__mantis10253.sql diff --git a/src/db/migration/V20171130_1124__mantis10253.sql b/src/db/migration/V20171130_1124__mantis10253.sql new file mode 100644 index 000000000..c09b6e7d4 --- /dev/null +++ b/src/db/migration/V20171130_1124__mantis10253.sql @@ -0,0 +1,9 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD INDVENDETOTEM NUMBER (1,0)'; + exception when column_exists then null; +end; +/ +UPDATE PARADA SET INDVENDETOTEM = 1; \ No newline at end of file