refactor(db): move rate-limit extras into Prisma migration and remove db-extras script

This commit is contained in:
Yusuf İpek
2026-02-26 10:40:36 +03:00
parent 6dd44953a3
commit bb43a07234
6 changed files with 49 additions and 90 deletions
+1 -2
View File
@@ -15,8 +15,7 @@
"db:push": "prisma db push",
"db:migrate": "prisma migrate deploy",
"db:seed": "prisma db seed",
"db:setup": "bun run db:generate && bun run db:push && bun run db:extras",
"db:extras": "bun run scripts/db-extras.ts",
"db:setup": "bun run db:generate && bun run db:push && bun run db:migrate",
"r2:cleanup-orphans:dry": "bun run scripts/r2-orphan-cleanup.ts --dry-run",
"r2:cleanup-orphans": "bun run scripts/r2-orphan-cleanup.ts",
"bunny:cleanup-orphans:dry": "bun run scripts/bunny-orphan-cleanup.ts --dry-run",