mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-10-26 01:40:36 -05:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user