fixes bug#EBUS-48

dev:
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@103078 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2020-08-28 14:58:48 +00:00
parent 16c59bccb8
commit 069f517d53
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLIENTE ADD LOGIN VARCHAR2(45)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLIENTE ADD OPT_IN NUMBER(1,0) DEFAULT 0' ;
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLIENTE ADD IND_CADASTRO_API NUMBER (1,0) DEFAULT 0' ;
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLIENTE ADD PAYMENTTOKEN VARCHAR2(45)';
exception when column_exists then null;
end;