mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
クエリ変更
This commit is contained in:
1 file changed
+1
-1
@@ -57,6 +57,6 @@ public interface VcsLogDao {
|
||||
@Query("DELETE FROM vcs_log WHERE id = :id")
|
||||
void deleteById(String id);
|
||||
|
||||
@Query("DELETE FROM vcs_log WHERE document_id = :documentId ORDER BY created_at LIMIT 1")
|
||||
@Query("DELETE FROM vcs_log WHERE document_id = :documentId LIMIT 1")
|
||||
void deleteLatestByDocumentId(String documentId);
|
||||
}
|
||||
Reference in new issue
Block a user