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;