Move app settings schema into SQL migration

This commit is contained in:
Abel Luck 2026-03-30 18:47:36 +02:00
parent 2092f66dcd
commit 1d5126c2f8
4 changed files with 74 additions and 28 deletions

View file

@ -103,6 +103,8 @@ uv run repub crawl -c repub.toml
- Keep `treefmt.nix`, `flake.nix`, and `pyproject.toml` aligned.
- Prefer updating the flake-exported package and checks rather than adding ad hoc scripts.
- Put new SQLite schema objects in numbered files under `repub/sql/` such as `002_*.sql`.
- For backward-compatible column additions on existing SQLite databases, use Peewee's `playhouse.migrate` helpers instead of raw ad hoc `ALTER TABLE` logic.
- Do not commit, amend, or stage unrelated files unless explicitly asked.
- Final verication `nix flake check` must be greenbefore claiming task completeness