fix(backend): remove logic to create workflows column

Snuck in there while I was organising
This commit is contained in:
psychedelicious 2023-09-26 18:56:21 +10:00 committed by Kent Keirsey
parent 402cf9b0ee
commit 3611029057

View File

@ -76,16 +76,6 @@ class SqliteImageRecordStorage(ImageRecordStorageBase):
"""
)
if "workflow" not in columns:
self._cursor.execute(
"""--sql
ALTER TABLE images
ADD COLUMN workflow_id TEXT;
-- TODO: This requires a migration:
-- FOREIGN KEY (workflow_id) REFERENCES workflows (workflow_id) ON DELETE SET NULL;
"""
)
# Create the `images` table indices.
self._cursor.execute(
"""--sql