Retire the one-time seed script #9

Merged
ngu-git-admin merged 1 commit from chore/retire-seed into main 2026-09-26 22:21:21 +01:00

Removes server/src/seed.js, the seed-only src/data/events.ts, and the seed command from CLAUDE.md.

The seed was a one-time move of the v1.2 static content into SQLite, and it can't run any more:

  • Its chapter source (GROUPS/SPLITS/CHAPTERS) lived in src/pages/chapters.js, deleted in the same v1.3 commit that added the seed. The default path pointed at src/data/chapters, which is the API hook.
  • Given the old file from history against a scratch database, it still fails on today's schema: table events has no column named host_org_id (hosts moved to a join table with co-hosting).
  • A working run would wipe every content table, losing everything entered through the admin since.

The database is the source of truth; content comes in through the admin panel. This also supersedes the seed notes in #8's description.

Verification

  • pnpm exec tsc: clean
  • pnpm build: passes
  • Nothing in src/ or server/ referenced either removed file.

🤖 Generated with Claude Code

Removes `server/src/seed.js`, the seed-only `src/data/events.ts`, and the seed command from CLAUDE.md. The seed was a one-time move of the v1.2 static content into SQLite, and it can't run any more: - Its chapter source (`GROUPS`/`SPLITS`/`CHAPTERS`) lived in `src/pages/chapters.js`, deleted in the same v1.3 commit that added the seed. The default path pointed at `src/data/chapters`, which is the API hook. - Given the old file from history against a scratch database, it still fails on today's schema: `table events has no column named host_org_id` (hosts moved to a join table with co-hosting). - A working run would wipe every content table, losing everything entered through the admin since. The database is the source of truth; content comes in through the admin panel. This also supersedes the seed notes in #8's description. ## Verification - `pnpm exec tsc`: clean - `pnpm build`: passes - Nothing in `src/` or `server/` referenced either removed file. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ngu-git-admin added 1 commit 2026-09-26 22:19:01 +01:00
seed.js moved the v1.2 static content into SQLite. Its chapter
source, src/pages/chapters.js, was deleted in the same commit that
added it, and the default path pointed at src/data/chapters, which
is the API hook and has none of GROUPS/SPLITS/CHAPTERS. Given the
old file, it still fails on today's schema (events.host_org_id went
with co-hosting), and a working run would wipe everything entered
through the admin since.

The database is the source of truth now. Removes seed.js, the
seed-only src/data/events.ts, and the seed command from CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ngu-git-admin merged commit 26d6844bc8 into main 2026-09-26 22:21:21 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ngu-git-admin/NGU-Web#9
No description provided.