From 07d486f95c38e05b030bf5e053900be9ac1da4f1 Mon Sep 17 00:00:00 2001 From: valdir Date: Tue, 14 Jul 2020 18:24:57 +0000 Subject: [PATCH] 0018935: Cadastro de Cliente - NumFidelidade bug#18935 dev: qua: retirando o Drop da Tabela git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@102431 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200704_1605__mantis18935.sql | 14 +------------- .../migration/V20200704_1605__mantis18935.sql | 9 +-------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/src/db/migration/V20200704_1605__mantis18935.sql b/src/db/migration/V20200704_1605__mantis18935.sql index 982ab4e36..986b5dd0d 100644 --- a/src/db/migration/V20200704_1605__mantis18935.sql +++ b/src/db/migration/V20200704_1605__mantis18935.sql @@ -54,16 +54,4 @@ begin when dup_val_on_index then null; when except_02291 then null; end; -/ --- ALTER TABLE DROP COLUMN -declare - object_exists exception; - except_00904 exception; - pragma exception_init (object_exists , -01430); - pragma exception_init (except_00904 , -00904); -begin - execute immediate 'ALTER TABLE TARJETA_FIDELIDAD DROP COLUMN NUMTARJETA_BACKUP'; - exception - when object_exists then null; - when except_00904 then null; -end; +/ \ No newline at end of file diff --git a/src/db/postgresql/migration/V20200704_1605__mantis18935.sql b/src/db/postgresql/migration/V20200704_1605__mantis18935.sql index 1fc8a9857..9790553ba 100644 --- a/src/db/postgresql/migration/V20200704_1605__mantis18935.sql +++ b/src/db/postgresql/migration/V20200704_1605__mantis18935.sql @@ -37,11 +37,4 @@ BEGIN EXCEPTION WHEN duplicate_column THEN NULL; END $$; -/ --- ALTER TABLE DROP COLUMN -DO $$ -BEGIN - ALTER TABLE TARJETA_FIDELIDAD DROP COLUMN NUMTARJETA_BACKUP; - EXCEPTION WHEN duplicate_column THEN NULL; -END -$$; \ No newline at end of file +/ \ No newline at end of file