X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fsource%2Flocal_user.rs;h=d6c9997131c446ef7486af426e159427d745d6e2;hb=b8ee9315bc95d647c609c89d5d38e1d19574fb4b;hp=10849afe918b9981a18fba1d5a21eec82cedd72f;hpb=efe98158c09de12905148146a6de41bf32660994;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..d6c99971 100644 --- a/crates/db_schema/src/source/local_user.rs +++ b/crates/db_schema/src/source/local_user.rs @@ -51,6 +51,8 @@ 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, } #[derive(Clone, TypedBuilder)] @@ -78,6 +80,7 @@ pub struct LocalUserInsertForm { pub accepted_application: Option, pub totp_2fa_secret: Option>, pub totp_2fa_url: Option>, + pub open_links_in_new_tab: Option, } #[derive(Clone, TypedBuilder)] @@ -102,4 +105,5 @@ pub struct LocalUserUpdateForm { pub accepted_application: Option, pub totp_2fa_secret: Option>, pub totp_2fa_url: Option>, + pub open_links_in_new_tab: Option, }