Commit 2fb27adb authored by Jonathan Rohde's avatar Jonathan Rohde
Browse files

feat(sqlalchemy): add missing file

parent 8f939cf5
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment