$ the-wire · showcase
Open WebUI retires Peewee migration layer
By RepoJournal · Filed · About Open WebUI
Open WebUI deprecated its Peewee migration layer, completing the switch to Alembic for all schema management.
Open WebUI deprecated the Peewee migration layer [1]; Alembic now handles all schema migration. The commit notes that "Peewee migrations are no longer needed for any version >= 0.3.6," since the Alembic init migration already creates the equivalent schema. This is a cleanup for maintainers, not an end-user change, but developers with custom Peewee-based tooling should confirm they are on Alembic for schema updates.
The same effort removed dead Peewee connection wrappers [2] and deleted the unused legacy test suite [3] and unused Cypress tests [4]. A separate refactor modernizes imports and standardizes type hints and docstrings [5]. All changes are internal cleanup; no user-facing behavior changes here.
Action items
- → Confirm any deploy hooks or custom migration scripts target Alembic, not Peewee open-webui/open-webui [plan]
- → Review custom patches for references to removed Peewee connection wrappers open-webui/open-webui [monitor]
References
- [1] refac: deprecate peewee migration layer ↗ open-webui/open-webui
- [2] refac: remove dead peewee connection wrappers ↗ open-webui/open-webui
- [3] chore: remove unused legacy test suite ↗ open-webui/open-webui
- [4] chore: remove unused cypress tests ↗ open-webui/open-webui
- [5] refac: modernize imports, standardize type hints and docstrings ↗ open-webui/open-webui