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 }