run migrate on restart

This commit is contained in:
aptalca
2021-04-13 09:37:48 -04:00
parent c9751a38e9
commit da45adac0b
4 changed files with 15 additions and 12 deletions

View File

@@ -17,6 +17,9 @@ if [ ! -f "/config/env" ]; then
cd /app/heimdall
npm run db:migrate
npm run db:seed
else
cd /app/heimdall
npm run db:migrate
fi
# permissions