Add Flyway, run db migration in local PostgreSQL db

First step in my plan to switch away from MySQL.
This commit is contained in:
P0nk
2023-02-24 21:49:00 +01:00
parent ab25f698da
commit f1192279bf
9 changed files with 111 additions and 0 deletions

View File

@@ -165,6 +165,14 @@ server:
DB_PASS: "snailshell"
INIT_CONNECTION_POOL_TIMEOUT: 90 # Seconds
PG_DB_NAME: "cosmic"
PG_DB_HOST: "localhost"
PG_DB_SCHEMA: "cosmic"
PG_DB_ADMIN_USERNAME: "cosmic_admin"
PG_DB_ADMIN_PASSWORD: "redsnailshell"
PG_DB_USERNAME: "cosmic_server"
PG_DB_PASSWORD: "bluesnailshell"
#Login Configuration
WORLDS: 1 #Initial number of worlds on the server.
WLDLIST_SIZE: 21 #Max possible worlds on the server.