- 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>
12 lines
355 B
SQL
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'
|
|
);
|