Merge pull request 'bug#al-2213' (#23) from AL-2213 into master
Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/23 Reviewed-by: pinheiro <valdevir@rjconsultores.com.br> Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master
commit
62989ea5d4
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>Flyway</artifactId>
|
<artifactId>Flyway</artifactId>
|
||||||
<version>1.0.24</version>
|
<version>1.0.25</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PUNTO_VENTA ADD INDBLOQUEARDESCONTOAPI NUMBER(1,0)' ;
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE PUNTO_VENTA ADD INDBLOQUEARDESCONTOWEB NUMBER(1,0)' ;
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,11 @@
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
ALTER TABLE PUNTO_VENTA ADD INDBLOQUEARDESCONTOAPI NUMBER(1,0);
|
||||||
|
END
|
||||||
|
$$;
|
||||||
|
/
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
ALTER TABLE PUNTO_VENTA ADD INDBLOQUEARDESCONTOWEB NUMBER(1,0);
|
||||||
|
END
|
||||||
|
$$;
|
Loading…
Reference in New Issue