This commit is contained in:
Lincoln Stein 2024-03-28 22:24:21 -04:00 committed by Kent Keirsey
parent 3681e34d5a
commit 3409711ed3

View File

@ -11,7 +11,7 @@ class Migration7Callback:
def _drop_old_models_tables(self, cursor: sqlite3.Cursor) -> None: def _drop_old_models_tables(self, cursor: sqlite3.Cursor) -> None:
"""Drops the old model_records, model_metadata, model_tags and tags tables.""" """Drops the old model_records, model_metadata, model_tags and tags tables."""
tables = ["model_records", "model_metadata", "model_tags", "tags"] tables = ["model_config", "model_metadata", "model_tags", "tags"]
for table in tables: for table in tables:
cursor.execute(f"DROP TABLE IF EXISTS {table};") cursor.execute(f"DROP TABLE IF EXISTS {table};")