mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-08 23:06:08 +00:00
Delete post change logs before removing posts
This commit is contained in:
@@ -8,4 +8,6 @@ import java.util.List;
|
||||
|
||||
public interface PostChangeLogRepository extends JpaRepository<PostChangeLog, Long> {
|
||||
List<PostChangeLog> findByPostOrderByCreatedAtAsc(Post post);
|
||||
|
||||
void deleteByPost(Post post);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user