This commit is contained in:
Georges-Antoine Assi
2026-04-09 17:37:48 -04:00
parent 8189d7af4d
commit 8374f152a7

View File

@@ -1,10 +1,6 @@
from alembic import op
from sqlalchemy import inspect
# ---------------------------------------------------------------------------
# Table helpers
# ---------------------------------------------------------------------------
def create_table_if_not_exists(table_name, *args, **kwargs):
"""Wrap op.create_table with an existence check.
@@ -27,11 +23,6 @@ def drop_table_if_exists(table_name):
op.drop_table(table_name)
# ---------------------------------------------------------------------------
# Column helpers
# ---------------------------------------------------------------------------
def _get_column_names(table_name):
"""Return the set of column names currently on *table_name*."""
bind = op.get_bind()