mirror of
https://github.com/kristoferssolo/echoes-of-ascension.git
synced 2026-02-04 06:22:03 +00:00
clean slate
This commit is contained in:
4
scripts/init_db
Executable file → Normal file
4
scripts/init_db
Executable file → Normal file
@@ -16,7 +16,7 @@ fi
|
||||
|
||||
DB_USER="${POSTGRES_USER:=postgres}"
|
||||
DB_PASSWORD="${POSTGRES_PASSWORD:=password}"
|
||||
DB_NAME="${POSTGRES_DB:=maze_ascension}"
|
||||
DB_NAME="${POSTGRES_DB:=newsletter}"
|
||||
DB_PORT="${POSTGRES_PORT:=5432}"
|
||||
DB_HOST="${POSTGRES_HOST:=localhost}"
|
||||
|
||||
@@ -43,4 +43,4 @@ done
|
||||
DATABASE_URL="postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
|
||||
export DATABASE_URL
|
||||
sqlx database create
|
||||
sqlx migrate run --source backend/migrations
|
||||
sqlx migrate run
|
||||
|
||||
Reference in New Issue
Block a user