chore: prep v0.1.0 for the catalog (fix SQLite migration + icon) #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/catalog-release-prep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Release prep before tagging
v0.1.0and adding chatelet toaiolabs/lnbits-extensions.🐛 Migration bug — would break every SQLite install
While smoke-testing the migrations against a real SQLite DB (the test suite monkeypatches crud, so migrations were never actually run), m001 failed:
CREATE INDEX ... ON <schema>.<table>is invalid SQLite grammar — the schema qualifier goes on the index name, not the table (SQLite attaches the ext DB as schemachatelet). Fixed toCREATE INDEX chatelet.idx_… ON <table>, matching therestaurantextension. Safe to amend m001 in place since chatelet has never been installed anywhere.Verified: m001 + m002 now apply cleanly on real SQLite; a room + booking round-trip through crud (exercising the
checkin_instructionscolumn andbig_intamounts); 22 unit tests still green.Icon + tile
config.jsontile pointed at a non-existentchatelet.png. Added the sharedaio.pnglogo (fleet convention) and fixed the tile → it also becomes the catalogicon.After this merges
v0.1.0at HEAD + push.sha256the archive.aiolabs/lnbits-extensions/extensions.json(direct-to-main infra repo — live immediately, no flake.lock bump).Follow-up worth filing
A real-DB migration test in the suite would have caught this in CI (the current tests deliberately avoid the DB). Recommend adding a migration fixture; happy to do it as a separate issue.
Why PR
Money-adjacent extension + a functional migration fix → PR category. Handing off merge to you via the Forgejo UI.
🤖 Generated with Claude Code