From b8a5564f4ebc35c2e8c6ba3a92fbe0ef80a29ee1 Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Mon, 10 Oct 2022 18:42:45 +0000 Subject: [PATCH] fixes bug#AL-1500 dev:julio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114670 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20221010_1523__jira750.sql | 95 ++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/db/migration/V20221010_1523__jira750.sql diff --git a/src/db/migration/V20221010_1523__jira750.sql b/src/db/migration/V20221010_1523__jira750.sql new file mode 100644 index 000000000..8546dc8b6 --- /dev/null +++ b/src/db/migration/V20221010_1523__jira750.sql @@ -0,0 +1,95 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE ADD (TIPOAUTORIZACAO VARCHAR2(50) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE ADD (INDAUTENTICACAO NUMBER(1) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (EMPRESA_ID NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (SMTP NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (SENHA NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (SMTPPORTA NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (SMTPEMAIL NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (ACTIVO NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (FECMODIF NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (USUARIO_ID NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (EMAILDE NULL)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01451); +begin + execute immediate 'ALTER TABLE EMPRESA_EMAIL_ECOMERCE MODIFY (TIPOOPERACAO NULL)'; + exception when column_exists then null; +end;