📦 Upgrade to prisma 5 (#748)

This commit is contained in:
Luke Vella 2023-07-14 12:46:04 +01:00 committed by GitHub
parent d205f991e9
commit 9f737fc061
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 22 deletions

View file

@ -2,6 +2,7 @@
set -e
export NEXT_PUBLIC_APP_VERSION=v$(node -p "require('./package.json').version")
echo "Set NEXT_PUBLIC_APP_VERSION=$NEXT_PUBLIC_APP_VERSION"
yarn prisma generate
yarn build
# Deploy migration using direct database connection (no connection pool)
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy