diff --git a/pom.xml b/pom.xml index 4d2cc1e0d..2cf9c730d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.3.3 + 1.3.4 diff --git a/src/db/migration/V20230515_1015__AL2302.sql b/src/db/migration/V20230515_1015__AL2302.sql new file mode 100644 index 000000000..88624c6d1 --- /dev/null +++ b/src/db/migration/V20230515_1015__AL2302.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CLASE_SERVICIO ADD (PORCPRICINGSEMELHANTE NUMBER(7,2))'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20230515_1015__AL2302.sql b/src/db/postgresql/migration/V20230515_1015__AL2302.sql new file mode 100644 index 000000000..0b2413274 --- /dev/null +++ b/src/db/postgresql/migration/V20230515_1015__AL2302.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CLASE_SERVICIO ADD (PORCPRICINGSEMELHANTE NUMBER(5,2))'; + exception when column_exists then null; +end; \ No newline at end of file