chore: fix db migrations path in self hosting setup

This commit is contained in:
Karol Sójko 2023-02-16 13:26:51 +01:00
parent 5ff9e43899
commit e97b16606c
No known key found for this signature in database
GPG key ID: D966F68E8A92F649
2 changed files with 1 additions and 4 deletions

View file

@ -8,7 +8,6 @@ DB_USERNAME=std_notes_user
DB_PASSWORD=changeme123 DB_PASSWORD=changeme123
DB_DATABASE=standard_notes_db DB_DATABASE=standard_notes_db
DB_DEBUG_LEVEL=all DB_DEBUG_LEVEL=all
DB_MIGRATIONS_PATH=dist/migrations/*.js
######### #########
# CACHE # # CACHE #

View file

@ -44,9 +44,7 @@ fi
if [ -z "$DB_DEBUG_LEVEL" ]; then if [ -z "$DB_DEBUG_LEVEL" ]; then
export DB_DEBUG_LEVEL="all" export DB_DEBUG_LEVEL="all"
fi fi
if [ -z "$DB_MIGRATIONS_PATH" ]; then export DB_MIGRATIONS_PATH="dist/migrations/*.js"
export DB_MIGRATIONS_PATH="dist/migrations/*.js"
fi
######### #########
# CACHE # # CACHE #