Skip to content

Commit e3a3653

Browse files
WangYuTenggclaude
andcommitted
chore(db): drop dead seed-passwords script
seed-passwords.ts shipped with an empty seedUsers array, so db:seed-passwords was a no-op. Real seeding lives in db:seed (src/db/seed.ts), which sets up users, courses, questions, and assignments — and which this script is now removed in favor of. Removes the script, the npm task, and updates CLAUDE.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f83a767 commit e3a3653

3 files changed

Lines changed: 1 addition & 48 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ npm run build:server # Server only
2929
npm run db:generate # Generate migration from schema changes
3030
npm run db:migrate # Apply migrations
3131
npm run db:studio # Open Drizzle Studio
32-
npm run db:seed-passwords # Seed test user passwords
32+
npm run db:seed # Seed users, courses, questions, assignments
3333

3434
# Lint
3535
npm run lint # ESLint (no auto-fix)

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"db:migrate": "tsx src/db/migrate.ts",
1919
"db:push": "drizzle-kit push",
2020
"db:studio": "drizzle-kit studio",
21-
"db:seed-passwords": "tsx src/db/seed-passwords.ts",
2221
"db:seed": "tsx src/db/seed.ts",
2322
"db:seed-submissions": "tsx src/db/seed-submissions.ts",
2423
"db:reset": "tsx src/db/reset.ts",

src/db/seed-passwords.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)