Files
roboco/alembic/versions
Renn F 702c14eb2f fix(alembic/009): make enum reconcile dynamic — handles ALL postgres enums, not just 3
Original 009 only reconciled agentrole/team/taskstatus. Production hit LookupError: 'CELL' is not among defined channeltype values during seed bootstrap — channeltype (and ~16 other enums declared in 001) had uppercase members from the original create_all bootstrap that 009 never touched.

Rewrite queries pg_enum at migration time to find every enum with uppercase members, then for each: read current members, lowercase them, add desired_additions for the 3 enums with new ORM members, find every (table, column) referencing the enum via pg_attribute, RENAME-old/CREATE-new/ALTER-USING-lower/DROP-old.
2026-05-02 03:38:58 +02:00
..
2025-12-10 02:49:54 +01:00
2026-05-01 03:09:11 +02:00
2026-05-01 03:09:11 +02:00
2026-05-02 03:11:49 +02:00
2026-05-02 03:11:49 +02:00