Use Prisma Migrate

This commit is contained in:
Alex van Andel
2021-10-24 20:56:01 +01:00
committed by GitHub
parent 69f53b0dbd
commit bfe658bca4

View File

@ -2,5 +2,5 @@
set -x
/app/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "db is up"
npx prisma db push
yarn start
npx prisma migrate deploy
yarn start