From bfe658bca4de436af472820bc25ca7824327039b Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Sun, 24 Oct 2021 20:56:01 +0100 Subject: [PATCH] Use Prisma Migrate --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 35d0ed7..031c0f2 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -2,5 +2,5 @@ set -x /app/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "db is up" -npx prisma db push -yarn start \ No newline at end of file +npx prisma migrate deploy +yarn start