From f59b57f1471d91b5afdd821d80bf829523a31395 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 3 Aug 2024 10:46:15 +0300 Subject: [PATCH] Add user to Category --- db/category.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/category.go b/db/category.go index cc8e4a4..b02d183 100644 --- a/db/category.go +++ b/db/category.go @@ -8,4 +8,6 @@ type Category struct { // Parent is used as a infinite sub-category structure ParentID uint Parent *Category + UserID uint + User *User }