fixes bug #7933
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@67658 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
452c5484fe
commit
dde92d5ad0
|
@ -3,9 +3,30 @@ declare
|
|||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE RUTA ADD (INDRUTAINTERNACIONAL NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE)';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CONDUCTOR ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE BOLETO ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
|
||||
execute immediate 'ALTER TABLE BOLETO ADD (SEXO VARCHAR2(1 BYTE))';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CAJA ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
|
||||
execute immediate 'ALTER TABLE CAJA ADD (SEXO VARCHAR2(1 BYTE))';
|
||||
exception when column_exists then null;
|
Loading…
Reference in New Issue