From 8700acdc691ca8468e26909f3729c92e37797663 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Thu, 13 Jun 2024 14:39:12 -0700 Subject: [PATCH] Update comment.rs --- crates/db_schema/src/impls/comment.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/db_schema/src/impls/comment.rs b/crates/db_schema/src/impls/comment.rs index fdcc952a4..0ffd53f86 100644 --- a/crates/db_schema/src/impls/comment.rs +++ b/crates/db_schema/src/impls/comment.rs @@ -117,7 +117,9 @@ impl Crud for Comment { type UpdateForm = CommentUpdateForm; type IdType = CommentId; + /// This is unimplemented, use [[Comment::create]] async fn create(pool: &mut DbPool<'_>, comment_form: &Self::InsertForm) -> Result { + debug_assert!(false); Comment::create(pool, comment_form, None).await }