mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
fix
This commit is contained in:
parent
30d3d28b9f
commit
11d7aec61d
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ def upgrade():
|
||||||
conn = op.get_bind()
|
conn = op.get_bind()
|
||||||
inspector = Inspector.from_engine(conn)
|
inspector = Inspector.from_engine(conn)
|
||||||
|
|
||||||
|
# Clean up potential leftover temp table from previous failures
|
||||||
|
conn.execute(sa.text("DROP TABLE IF EXISTS _alembic_tmp_tag"))
|
||||||
|
|
||||||
# Check if the 'tag' table exists
|
# Check if the 'tag' table exists
|
||||||
tables = inspector.get_table_names()
|
tables = inspector.get_table_names()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue