keep alive attachment variant

This commit is contained in:
Timi
2026-08-25 22:54:55 +08:00
parent 0239697a2b
commit 9f884e2b74
3 changed files with 41 additions and 3 deletions
@@ -98,6 +98,13 @@
)
</insert>
<update id="updateExpireAt">
UPDATE `attachment_variant`
SET `expire_at` = #{expireAt}
WHERE `id` = #{id}
AND `expire_at` &gt; #{now}
</update>
<delete id="delete">
DELETE FROM `attachment_variant`
WHERE `id` = #{id}