X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fimpls%2Fcommunity.rs;h=fb8bd6e4a1cbdb6d8be34bcf16a2d6a6218d0fd3;hb=7058cfa1cf67e65818e8ce62d9716b1564558734;hp=a7b50996398c59f0ec12f2a851796caab081e579;hpb=9c1b9ff3cf198d829630d3d4ab0c03985ecc732f;p=lemmy.git diff --git a/crates/db_schema/src/impls/community.rs b/crates/db_schema/src/impls/community.rs index a7b50996..fb8bd6e4 100644 --- a/crates/db_schema/src/impls/community.rs +++ b/crates/db_schema/src/impls/community.rs @@ -43,6 +43,7 @@ mod safe_type { icon, banner, hidden, + posting_restricted_to_mods, ); impl ToSafe for Community { @@ -63,6 +64,7 @@ mod safe_type { icon, banner, hidden, + posting_restricted_to_mods, ) } } @@ -373,6 +375,7 @@ mod tests { inbox_url: inserted_community.inbox_url.to_owned(), shared_inbox_url: None, hidden: false, + posting_restricted_to_mods: false, }; let community_follower_form = CommunityFollowerForm {