diff --git a/pom.xml b/pom.xml index 6ee2dec8..c55e8a48 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ io.github.project-openubl searchpe - 3.2.0-SNAPSHOT + 3.1.1-SNAPSHOT 11 diff --git a/src/main/resources/db/migration/V3.1.1__Upgrade.sql b/src/main/resources/db/migration/V3.1.1__Upgrade.sql new file mode 100644 index 00000000..f5d9ef74 --- /dev/null +++ b/src/main/resources/db/migration/V3.1.1__Upgrade.sql @@ -0,0 +1,15 @@ +ALTER TABLE VERSION +ALTER +COLUMN id TYPE int8; + +ALTER TABLE VERSION +ALTER +COLUMN version TYPE int4; + +ALTER TABLE BASIC_USER +ALTER +COLUMN version TYPE int4; + +ALTER TABLE CONTRIBUYENTE +ALTER +COLUMN version_id TYPE int8;