Skip to content

Commit

Permalink
Fix DB types (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 authored Apr 11, 2022
1 parent 7d18705 commit 0048103
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<groupId>io.github.project-openubl</groupId>
<artifactId>searchpe</artifactId>
<version>3.2.0-SNAPSHOT</version>
<version>3.1.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
15 changes: 15 additions & 0 deletions src/main/resources/db/migration/V3.1.1__Upgrade.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0048103

Please sign in to comment.