refac: mv backend files to /open_webui dir

This commit is contained in:
Timothy J. Baek committed 2024-09-04 16:54:48 +02:00
1 parent 76806a998f
commit 03d5a670f6
118 files changed
+361 -309

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
from alembic import op
from sqlalchemy import Inspector
def get_existing_tables():
con = op.get_bind()
inspector = Inspector.from_engine(con)
tables = set(inspector.get_table_names())
return tables