[loggi-bv8] DB migration: add icon column to entry table #4

Closed
opened 2026-02-18 11:49:41 +01:00 by matthias · 0 comments
Owner

Bead ID: loggi-bv8
Type: 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.

**Bead ID:** `loggi-bv8` **Type:** 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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
matthias/loggi#4
No description provided.