Add local seed data so a db reset covers current features (#91)

* Add local db seed

* Expand local db seed for main schema and dev testing fixtures.

Seed the production tag catalog, 19 hack permutations for download/version/archive flows, shared MinIO patch storage, and placehold.co cover uploads.

* Update local seed fixtures for current schema and xdelta patches.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jared Schoeny
2026-09-04 13:31:30 -06:00
committed by GitHub
parent f84350be82
commit fbe25aa4cd
5 changed files with 768 additions and 0 deletions

View File

@@ -7,6 +7,8 @@
"build": "next build --turbopack",
"start": "next start",
"db:pull": "supabase db pull && supabase migration up && supabase gen types --local > src/types/db.ts",
"db:reset": "supabase db reset && docker exec -i supabase_db_pokemon-romhack-platform psql -U postgres -d postgres -v ON_ERROR_STOP=1 < supabase/seed.sql && npm run seed:storage",
"seed:storage": "node --env-file=.env.local --env-file=.env.development.local scripts/seed-storage.mjs",
"discord:register": "node scripts/register-discord-commands.mjs",
"postinstall": "patch-package"
},