.totp_2fa_secret(totp_2fa_secret)
.totp_2fa_url(totp_2fa_url)
.open_links_in_new_tab(data.open_links_in_new_tab)
+ .infinite_scroll_enabled(data.infinite_scroll_enabled)
.build();
let local_user_res =
pub auth: Sensitive<String>,
/// Open links in a new tab
pub open_links_in_new_tab: Option<bool>,
+ /// Enable infinite scroll
+ pub infinite_scroll_enabled: Option<bool>,
}
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
totp_2fa_secret -> Nullable<Text>,
totp_2fa_url -> Nullable<Text>,
open_links_in_new_tab -> Bool,
+ infinite_scroll_enabled -> Bool,
}
}
pub totp_2fa_url: Option<String>,
/// Open links in a new tab.
pub open_links_in_new_tab: bool,
+ /// Whether infinite scroll is enabled.
+ pub infinite_scroll_enabled: bool,
}
#[derive(Clone, TypedBuilder)]
pub totp_2fa_secret: Option<Option<String>>,
pub totp_2fa_url: Option<Option<String>>,
pub open_links_in_new_tab: Option<bool>,
+ pub infinite_scroll_enabled: Option<bool>,
}
#[derive(Clone, TypedBuilder)]
pub totp_2fa_secret: Option<Option<String>>,
pub totp_2fa_url: Option<Option<String>>,
pub open_links_in_new_tab: Option<bool>,
+ pub infinite_scroll_enabled: Option<bool>,
}
totp_2fa_url: inserted_sara_local_user.totp_2fa_url,
password_encrypted: inserted_sara_local_user.password_encrypted,
open_links_in_new_tab: inserted_sara_local_user.open_links_in_new_tab,
+ infinite_scroll_enabled: inserted_sara_local_user.infinite_scroll_enabled,
},
creator: Person {
id: inserted_sara_person.id,
--- /dev/null
+alter table local_user drop column infinite_scroll_enabled;
--- /dev/null
+alter table local_user add column infinite_scroll_enabled boolean default false not null;