X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fsource%2Fcommunity.rs;h=269e7dbf9a8bd220df1272506bf92885452c0839;hb=05d43150bcc81a3403fe08e6c9a2d74de4eca9b4;hp=4c351b8860b0e295840e0065faf861fe006be1a5;hpb=209829e1f325867dc467045a6fdd6d176b1118d1;p=lemmy.git diff --git a/crates/db_schema/src/source/community.rs b/crates/db_schema/src/source/community.rs index 4c351b88..269e7dbf 100644 --- a/crates/db_schema/src/source/community.rs +++ b/crates/db_schema/src/source/community.rs @@ -19,7 +19,7 @@ pub struct Community { pub actor_id: DbUrl, pub local: bool, pub private_key: Option, - pub public_key: Option, + pub public_key: String, pub last_refreshed_at: chrono::NaiveDateTime, pub icon: Option, pub banner: Option, @@ -60,8 +60,8 @@ pub struct CommunityForm { pub nsfw: Option, pub actor_id: Option, pub local: Option, - pub private_key: Option, - pub public_key: Option, + pub private_key: Option>, + pub public_key: String, pub last_refreshed_at: Option, pub icon: Option>, pub banner: Option>,