mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
close #6080
This commit is contained in:
parent
3681e34d5a
commit
3409711ed3
@ -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};")
|
||||||
|
Loading…
Reference in New Issue
Block a user