aboutsummaryrefslogtreecommitdiff
path: root/src/model/category.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/category.rs')
-rw-r--r--src/model/category.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/model/category.rs b/src/model/category.rs
index de08dea..ecece96 100644
--- a/src/model/category.rs
+++ b/src/model/category.rs
@@ -1,6 +1,4 @@
-use serde::Serialize;
-
-#[derive(sqlx::FromRow, Serialize)]
+#[derive(serde::Serialize, Clone)]
pub struct Category {
pub id: i64,
pub name: String,