feat(backend): improve image uploading and thumbnail handling

This commit is contained in:
Andrey Antukh 2019-07-05 13:27:01 +02:00
parent 820edba113
commit e786a85bbd
6 changed files with 64 additions and 23 deletions

View file

@ -63,4 +63,5 @@ returning *;
-- :name delete-image :! :n
update images
set deleted_at = clock_timestamp()
where id = :id and "user" = :user;
where id = :id and "user" = :user
returning *;