github-actions[bot]
GitHub deploy: 47c76ab5fe2fe8277fc8015e296649f77086b0ca
9f5f235
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