mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(nodes): use higher precision timestamps in db
This commit is contained in:
parent
9317b42e5f
commit
fd47e70c92
@ -141,9 +141,9 @@ class SqliteImageRecordStorage(ImageRecordStorageBase):
|
|||||||
metadata TEXT,
|
metadata TEXT,
|
||||||
show_in_gallery BOOLEAN DEFAULT TRUE,
|
show_in_gallery BOOLEAN DEFAULT TRUE,
|
||||||
is_intermediate BOOLEAN DEFAULT FALSE,
|
is_intermediate BOOLEAN DEFAULT FALSE,
|
||||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
created_at DATETIME NOT NULL DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
|
||||||
-- Updated via trigger
|
-- Updated via trigger
|
||||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
updated_at DATETIME NOT NULL DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
|
||||||
-- Soft delete, currently unused
|
-- Soft delete, currently unused
|
||||||
deleted_at DATETIME
|
deleted_at DATETIME
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user