X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fsource%2Flocal_user.rs;h=d9e1bde756910bbbcbf3599866070651e1583ea4;hb=9b5e765364ecf7de64c9cbc7a452ccfaabce5449;hp=10849afe918b9981a18fba1d5a21eec82cedd72f;hpb=014c0ad87f336329b2529ec6cb9162ce0c500684;p=lemmy.git diff --git a/crates/db_schema/src/source/local_user.rs b/crates/db_schema/src/source/local_user.rs index 10849afe..d9e1bde7 100644 --- a/crates/db_schema/src/source/local_user.rs +++ b/crates/db_schema/src/source/local_user.rs @@ -51,6 +51,10 @@ pub struct LocalUser { pub totp_2fa_secret: Option, /// A URL to add their 2-factor auth. pub totp_2fa_url: Option, + /// 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)] @@ -78,6 +82,8 @@ pub struct LocalUserInsertForm { pub accepted_application: Option, pub totp_2fa_secret: Option>, pub totp_2fa_url: Option>, + pub open_links_in_new_tab: Option, + pub infinite_scroll_enabled: Option, } #[derive(Clone, TypedBuilder)] @@ -102,4 +108,6 @@ pub struct LocalUserUpdateForm { pub accepted_application: Option, pub totp_2fa_secret: Option>, pub totp_2fa_url: Option>, + pub open_links_in_new_tab: Option, + pub infinite_scroll_enabled: Option, }