Skip to content

Commit

Permalink
Use Flyway to deploy SQL schema to non-prod
Browse files Browse the repository at this point in the history
Added Gradle tasks to deploy and drop schema in alpha
using Flyway.

Use a custome dialect in GenerateSqlSchemaCommand to
convert varchar type to 'text' and timestamp to 'timestamptz'.

Corrected ClaimsEntry's revision_id column type to int8.
This column tracks parent table's primary key and should
not be bigserial.
  • Loading branch information
weiminyu committed Sep 6, 2019
1 parent 5f5815a commit 2e5d513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -14,4 +14,4 @@ enableDependencyLocking=true
dbServer=
dbName=postgres
dbUser=
dbPassword=
dbPassword=

0 comments on commit 2e5d513

Please sign in to comment.