From 99bbccff4d55f121cc6516129d05796f621b7a5f Mon Sep 17 00:00:00 2001 From: aristides Date: Wed, 24 Nov 2021 18:40:37 +0000 Subject: [PATCH] fixes bug#22719 qua: dev:Wallace git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@109735 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20211122_1622__mantis22719.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20211122_1622__mantis22719.sql diff --git a/src/db/migration/V20211122_1622__mantis22719.sql b/src/db/migration/V20211122_1622__mantis22719.sql new file mode 100644 index 000000000..ad8cc1f61 --- /dev/null +++ b/src/db/migration/V20211122_1622__mantis22719.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE INSCRICAO_ESTADUAL ADD NUMINSCRICAOMUNICIPAL VARCHAR(15) DEFAULT ''ISENTO'' NOT NULL' ; + exception when column_exists then null; +end; \ No newline at end of file