criado a customização para venda em pé, sentado por serviço
fixes bug#11741 dev:lucas qua:marcelo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85599 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
39774b5c76
commit
ec76218588
|
@ -121,6 +121,6 @@ public class FlyWay {
|
||||||
flyway.setOutOfOrder(true);
|
flyway.setOutOfOrder(true);
|
||||||
flyway.setBaselineOnMigrate(true);
|
flyway.setBaselineOnMigrate(true);
|
||||||
|
|
||||||
flyway.migrate();
|
//flyway.migrate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,3 +6,10 @@ begin
|
||||||
exception when column_exists then null;
|
exception when column_exists then null;
|
||||||
end;
|
end;
|
||||||
/
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE CORRIDA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -1,8 +1,7 @@
|
||||||
declare
|
DO $$
|
||||||
column_exists exception;
|
BEGIN
|
||||||
pragma exception_init (column_exists , -01430);
|
ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1));
|
||||||
begin
|
ALTER TABLE CORRIDA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))
|
||||||
execute immediate 'ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))';
|
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||||
exception when column_exists then null;
|
END
|
||||||
end;
|
$$;
|
||||||
/
|
|
Loading…
Reference in New Issue