| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
except for the few comments, it looks very good! |
Sorry, something went wrong.
| // belongs to | ||
| int64 user_id = 200 [(gogoproto.customname) = "UserID", (gogoproto.moretags) = "gorm:\"index\""]; | ||
| User user = 201 [(gogoproto.moretags) = "gorm:\"foreignKey:UserID;references:ID\""]; | ||
| // has one | ||
| User active_user = 202 [(gogoproto.moretags) = "gorm:\"foreignKey:ActiveTeamMemberID;references:ID\""]; |
There was a problem hiding this comment.
ForeignKey constraint fails here -> need to investigate or
maybe need to rethink the model association and use a enum to mark a team_member as the active one ?
Sorry, something went wrong.
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
No description provided.