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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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