diff --git a/invokeai/app/services/workflow_records/workflow_records_sqlite.py b/invokeai/app/services/workflow_records/workflow_records_sqlite.py index b0952e8234..a27ba4306e 100644 --- a/invokeai/app/services/workflow_records/workflow_records_sqlite.py +++ b/invokeai/app/services/workflow_records/workflow_records_sqlite.py @@ -54,7 +54,7 @@ class SqliteWorkflowRecordsStorage(WorkflowRecordsStorageBase): self._lock.acquire() self._cursor.execute( """--sql - INSERT INTO workflows(workflow) + INSERT OR IGNORE INTO workflows(workflow) VALUES (?); """, (workflow.model_dump_json(),),