Skip to content

Commit

Permalink
Merge pull request #8906 from avdev4j/fix_users_immport_id_varying_po…
Browse files Browse the repository at this point in the history
…stgres

Force user id to be considered as numeric value when loadData with postgresql and Liquibase
  • Loading branch information
DanielFran authored Nov 30, 2018
2 parents 3466eec + 89bc7fe commit be52b1d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@
identityInsertEnabled="true"
<%_ } _%>
tableName="<%= jhiTablePrefix %>_user">
<%_ if (prodDatabaseType === 'postgresql') { _%>
<column name="id" type="numeric"/>
<%_ } _%>
<column name="activated" type="boolean"/>
<column name="created_date" type="timestamp"/>
</<% if (devDatabaseType === 'mssql' || prodDatabaseType === 'mssql') { %>ext:<% } %>loadData>
Expand Down

0 comments on commit be52b1d

Please sign in to comment.