Skip to content

Commit 8aa64af

Browse files
committed
Revert "comment out the migrations for a bit longer"
This reverts commit 137d0e3.
1 parent 0baedb7 commit 8aa64af

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

appStartUp.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ set -eo pipefail
33

44
export DATABASE_URL=$(echo -e ${DATABASE_URL})
55

6-
# echo "Database - running migrations."
7-
# if $RESET_DB; then
8-
# echo "Resetting DB"
9-
# npx prisma migrate reset --force
10-
# else
11-
# echo "Running migrations"
12-
# npx prisma migrate deploy
13-
# fi
6+
echo "Database - running migrations."
7+
if $RESET_DB; then
8+
echo "Resetting DB"
9+
npx prisma migrate reset --force
10+
else
11+
echo "Running migrations"
12+
npx prisma migrate deploy
13+
fi
1414

1515
# Start the app
1616
pnpm start:prod

0 commit comments

Comments
 (0)