diff --git a/src/lib.rs b/src/lib.rs index 8e0f71b..6c17367 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ pub mod sql_types { use diesel::query_builder::QueryId; use diesel::sql_types::SqlType; - #[derive(SqlType, QueryId)] + #[derive(SqlType, Clone, Copy, QueryId)] #[diesel(postgres_type(name = "ltree"))] pub struct Ltree;