mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 10:24:02 +00:00
refactor(db): replace legacy fixture seed
This commit is contained in:
@@ -61,6 +61,7 @@ bun run review:coderabbit
|
||||
- Drizzle config is in `packages/db/drizzle.config.ts`.
|
||||
- Typed environment validation lives in `packages/config/src/env.ts`.
|
||||
- Copy `.env.example` to `.env` before running app/database commands.
|
||||
- `bun run db:seed` refreshes the committed fixture household and is destructive for previously seeded fixture rows.
|
||||
- Local bot feature flags come from env presence:
|
||||
- finance commands require `DATABASE_URL` plus household setup in Telegram via `/setup`
|
||||
- purchase ingestion requires `DATABASE_URL` plus a bound purchase topic via `/bind_purchase_topic`
|
||||
@@ -69,6 +70,7 @@ bun run review:coderabbit
|
||||
and optionally use a dedicated reminders topic via `/bind_reminders_topic`
|
||||
- mini app CORS can be constrained with `MINI_APP_ALLOWED_ORIGINS`
|
||||
- Migration workflow is documented in `docs/runbooks/migrations.md`.
|
||||
- Destructive dev reset guidance is documented in `docs/runbooks/dev-reset.md`.
|
||||
- First deploy flow is documented in `docs/runbooks/first-deploy.md`.
|
||||
|
||||
## CI/CD
|
||||
|
||||
Reference in New Issue
Block a user