Skip to content

Commit

Permalink
skip author field in Package entity (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop authored Jan 6, 2025
1 parent d819911 commit 9a65199
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entity/package.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ pub mut:
nr_downloads int
vcs string = 'git'
user_id int
author User @[fkey: 'id']
author_id int @[json: '-']
author User @[sql: '-']
stars int
is_flatten bool // No need to mention author of package, example `ui`
updated_at time.Time = time.now()
Expand Down

0 comments on commit 9a65199

Please sign in to comment.