X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fschema.rs;h=4dea567c6ee4b9776a7b8cd831d9572b258c526c;hb=ceff2ec686094364cd452f10314d7239c8a9763c;hp=97def1ffa1ef0ce72c3370d8e849c8710fd83a7f;hpb=0630d214e367355caa4b45ea1c2dbe3087e96ab9;p=lemmy.git diff --git a/crates/db_schema/src/schema.rs b/crates/db_schema/src/schema.rs index 97def1ff..4dea567c 100644 --- a/crates/db_schema/src/schema.rs +++ b/crates/db_schema/src/schema.rs @@ -672,16 +672,17 @@ table! { } table! { + use crate::source::local_site::RegistrationModeType; + use diesel::sql_types::*; + local_site(id) { id -> Int4, site_id -> Int4, site_setup -> Bool, enable_downvotes -> Bool, - open_registration -> Bool, enable_nsfw -> Bool, community_creation_admin_only -> Bool, require_email_verification -> Bool, - require_application -> Bool, application_question -> Nullable, private_instance -> Bool, default_theme -> Text, @@ -696,6 +697,7 @@ table! { federation_worker_count -> Int4, captcha_enabled -> Bool, captcha_difficulty -> Text, + registration_mode -> RegistrationModeType, published -> Timestamp, updated -> Nullable, }