feat(seed): update pricing item seeding to upsert on every deploy
This commit is contained in:
@@ -9,7 +9,7 @@ echo "→ Syncing database schema..."
|
||||
# db push creates the SQLite file and syncs tables to match schema.prisma
|
||||
/app/node_modules/.bin/prisma db push
|
||||
|
||||
echo "→ Seeding database (idempotent — skips existing records)..."
|
||||
echo "→ Seeding database (idempotent — pricing rows are upserted every deploy)..."
|
||||
/app/node_modules/.bin/tsx /app/prisma/seed.ts
|
||||
|
||||
echo "→ Starting Next.js on port ${PORT:-3000}..."
|
||||
|
||||
Reference in New Issue
Block a user