pinakes-core: file management improvements; in-datatbase storage cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ic186f9bf08683a14562bbe43743c04706a6a6964
This commit is contained in:
parent
f34c78b238
commit
f5371a30bb
8 changed files with 698 additions and 4 deletions
|
|
@ -203,6 +203,9 @@ pub async fn import_file_with_options(
|
|||
|
||||
created_at: now,
|
||||
updated_at: now,
|
||||
|
||||
// New items are not deleted
|
||||
deleted_at: None,
|
||||
};
|
||||
|
||||
storage.insert_media(&item).await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue