felt/internal/store/migrations/004_dev_seed.sql
Mikkel Georgsen af13732b2b feat(01-01): initialize Go module, dependency tree, and project scaffold
- Go module at github.com/felt-app/felt with go-libsql pinned to commit hash
- Full directory structure per research recommendations (cmd/leaf, internal/*, frontend/)
- Makefile with build, run, run-dev, test, frontend, all, clean targets
- LibSQL database with WAL mode, foreign keys, and embedded migration runner
- SvelteKit SPA stub served via go:embed
- Package stubs for all internal packages (server, nats, store, auth, clock, etc.)
- go build and go vet pass cleanly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 03:34:44 +01:00

12 lines
355 B
SQL

-- 004_dev_seed.sql
-- Development-only seed data: default admin operator
-- Only applied when --dev flag is set
-- PIN: 1234 (bcrypt hash below)
INSERT OR IGNORE INTO operators (id, name, pin_hash, role)
VALUES (
'00000000-0000-0000-0000-000000000001',
'Admin',
'$2a$10$RD/9mCpMunyvJ0Ax1gHvHOrVmu0DL0/ah0NppuVN4rKgtpfuAEvdK',
'admin'
);