}
diesel::table! {
- captcha_answer (uuid) {
- uuid -> Text,
+ captcha_answer (id) {
+ id -> Int4,
+ uuid -> Uuid,
answer -> Text,
- expires -> Timestamp,
+ published -> Timestamp,
}
}
diesel::table! {
- use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
+ use diesel::sql_types::*;
use diesel_ltree::sql_types::Ltree;
comment (id) {
}
diesel::table! {
- use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
+ use diesel::sql_types::*;
use super::sql_types::ListingTypeEnum;
use super::sql_types::RegistrationModeEnum;
slur_filter_regex -> Nullable<Text>,
actor_name_max_length -> Int4,
federation_enabled -> Bool,
- federation_worker_count -> Int4,
captcha_enabled -> Bool,
#[max_length = 255]
captcha_difficulty -> Varchar,
}
diesel::table! {
- use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
+ use diesel::sql_types::*;
use super::sql_types::SortTypeEnum;
use super::sql_types::ListingTypeEnum;
password_encrypted -> Text,
email -> Nullable<Text>,
show_nsfw -> Bool,
- #[max_length = 20]
- theme -> Varchar,
+ theme -> Text,
default_sort_type -> SortTypeEnum,
default_listing_type -> ListingTypeEnum,
#[max_length = 20]