mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-19 00:03:21 +00:00
Use explicit Index() in __table_args__ matching the migration's 'memory_user_id_idx' name (consistent with chats.py / tags.py / chat_messages.py). Avoids autogenerate churn from SQLAlchemy's default ix_memory_user_id name. Also drops the unused sqlalchemy import from the migration. |
||
|---|---|---|
| .. | ||
| versions | ||
| env.py | ||
| README | ||
| script.py.mako | ||
| util.py | ||
Generic single-database configuration. Create new migrations with DATABASE_URL=<replace with actual url> alembic revision --autogenerate -m "a description"