keep alive attachment variant
This commit is contained in:
@@ -98,6 +98,13 @@
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="updateExpireAt">
|
||||
UPDATE `attachment_variant`
|
||||
SET `expire_at` = #{expireAt}
|
||||
WHERE `id` = #{id}
|
||||
AND `expire_at` > #{now}
|
||||
</update>
|
||||
|
||||
<delete id="delete">
|
||||
DELETE FROM `attachment_variant`
|
||||
WHERE `id` = #{id}
|
||||
|
||||
Reference in New Issue
Block a user