From 91cf8a808fef670931d4a6a3468eaebe40760b69 Mon Sep 17 00:00:00 2001 From: "fabricio.oliveira" Date: Mon, 10 Sep 2018 21:08:31 +0000 Subject: [PATCH] 0011158: ESPEC 7 364 - Alterar cadastro de Ponto de Venda fixes bug#11158 dev:Emerson qua:Renato git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85204 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180910_1700__mantis11158.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20180910_1700__mantis11158.sql diff --git a/src/db/migration/V20180910_1700__mantis11158.sql b/src/db/migration/V20180910_1700__mantis11158.sql new file mode 100644 index 000000000..9b6e5ebaa --- /dev/null +++ b/src/db/migration/V20180910_1700__mantis11158.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD EMPRESA_ID NUMBER(7) DEFAULT -1 '; + exception when object_exists then null; +end; \ No newline at end of file