lemmy/crates/db_schema/src/diesel_ltree.patch

23 lines
606 B
Diff
Raw Normal View History

2023-06-23 09:47:12 +00:00
--- schema.rs 2023-06-21 22:25:50.252384233 +0100
+++ "schema copy.rs" 2023-06-21 22:26:50.452378651 +0100
@@ -6,10 +6,6 @@
pub struct ListingTypeEnum;
2023-06-23 09:47:12 +00:00
#[derive(diesel::sql_types::SqlType)]
- #[diesel(postgres_type(name = "ltree"))]
- pub struct Ltree;
-
2023-06-23 09:47:12 +00:00
- #[derive(diesel::sql_types::SqlType)]
#[diesel(postgres_type(name = "registration_mode_enum"))]
pub struct RegistrationModeEnum;
2023-06-23 09:47:12 +00:00
@@ -78,7 +74,7 @@
diesel::table! {
use diesel::sql_types::*;
- use super::sql_types::Ltree;
+ use diesel_ltree::sql_types::Ltree;
comment (id) {
id -> Int4,