Skip to content

Commit

Permalink
Use Prisma Migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysal authored Oct 24, 2021
1 parent 69f53b0 commit bfe658b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bfe658b

Please sign in to comment.