Files
roboco/alembic/versions
Renn F e53eb5b7ee fix(rag): make migration 030 offline-renderable (plpgsql DO block)
The initial 030 used sa.inspect(op.get_bind()) for its conditional ALTERs, which
raises NoInspectionAvailable under `alembic upgrade --sql` (offline mode) —
breaking test_enum_migration_parity and any offline SQL generation. Reimplement
the same idempotent rename (text->content) + add (created_at) as a self-contained
plpgsql DO block that guards on information_schema at execution time, so it
renders offline and runs online identically. Round-trip verified.
2026-06-15 04:54:51 +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