feat: add categories

This commit is contained in:
juancwu 2026-04-11 19:12:19 +00:00
commit a2b0ee5c15
2 changed files with 32 additions and 0 deletions

View file

@ -40,3 +40,11 @@ type Tag struct {
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}
type Category struct {
ID string `db:"id"`
Name string `db:"name"`
Description *string `db:"description"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}