Skip to content

Commit 6a6d661

Browse files
committed
fix: migration on entrypoint.sh
1 parent 606d0fa commit 6a6d661

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "▶ Running Prisma migrations..."
55
max_attempts=10
66
attempt_num=1
77

8-
until make migrate-up; do
8+
until bunx prisma migrate deploy; do
99
if [ $attempt_num -ge $max_attempts ]; then
1010
echo "Migration failed after $attempt_num attempts. Exiting."
1111
exit 1

0 commit comments

Comments
 (0)