[loggi-bv8] DB migration: add icon column to entry table #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Bead ID:
loggi-bv8Type: bug
Priority: P0
Status: closed
Close reason: Added migration in init.py that adds icon column, migrates icon data from settings JSON, drops settings and payload columns, and adds indexes. Runs idempotently on startup.
The model cleanup added an icon column to Entry, but create_all() doesn't ALTER existing tables. Need to add the column manually or reset the DB. This blocks testing of the model and UI changes.