followers_url -> Varchar,
inbox_url -> Varchar,
shared_inbox_url -> Nullable<Varchar>,
+ moderators_url -> Nullable<Varchar>,
+ featured_url -> Nullable<Varchar>,
hidden -> Bool,
posting_restricted_to_mods -> Bool,
instance_id -> Int4,
instance(id) {
id -> Int4,
domain -> Text,
+ software -> Nullable<Text>,
+ version -> Nullable<Text>,
published -> Timestamp,
updated -> Nullable<Timestamp>,
}
}
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<Text>,
private_instance -> Bool,
default_theme -> Text,
federation_worker_count -> Int4,
captcha_enabled -> Bool,
captcha_difficulty -> Text,
+ registration_mode -> RegistrationModeType,
+ reports_email_admins -> Bool,
published -> Timestamp,
updated -> Nullable<Timestamp>,
}