]> Untitled Git - lemmy.git/blob - crates/db_schema/src/diesel_ltree.patch
Revert "feat: re-added captcha checks (#3249)" (#3288)
[lemmy.git] / crates / db_schema / src / diesel_ltree.patch
1 diff --git a/crates/db_schema/src/schema.rs b/crates/db_schema/src/schema.rs
2 index 255c6422..f2ccf5e2 100644
3 --- a/crates/db_schema/src/schema.rs
4 +++ b/crates/db_schema/src/schema.rs
5 @@ -2,16 +2,12 @@
6  
7  pub mod sql_types {
8      #[derive(diesel::sql_types::SqlType)]
9      #[diesel(postgres_type(name = "listing_type_enum"))]
10      pub struct ListingTypeEnum;
11  
12 -    #[derive(diesel::sql_types::SqlType)]
13 -    #[diesel(postgres_type(name = "ltree"))]
14 -    pub struct Ltree;
15 -
16      #[derive(diesel::sql_types::SqlType)]
17      #[diesel(postgres_type(name = "registration_mode_enum"))]
18      pub struct RegistrationModeEnum;
19  
20      #[derive(diesel::sql_types::SqlType)]
21      #[diesel(postgres_type(name = "sort_type_enum"))]
22 @@ -67,13 +63,13 @@ diesel::table! {
23          when_ -> Timestamp,
24      }
25  }
26  
27  diesel::table! {
28      use diesel::sql_types::*;
29 -    use super::sql_types::Ltree;
30 +    use diesel_ltree::sql_types::Ltree;
31  
32      comment (id) {
33          id -> Int4,
34          creator_id -> Int4,
35          post_id -> Int4,
36          content -> Text,