Open
Conversation
moul
reviewed
Mar 11, 2021
moul
reviewed
Mar 11, 2021
moul
reviewed
Mar 11, 2021
Member
|
except for the few comments, it looks very good! |
9f7081f to
501c021
Compare
remyoster
commented
Mar 12, 2021
501c021 to
7854dee
Compare
remyoster
commented
Mar 12, 2021
Comment on lines
+189
to
+193
| // 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\""]; |
Author
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 ?
moul
reviewed
Mar 16, 2021
moul
reviewed
Mar 22, 2021
8ed5714 to
73d0b40
Compare
djale1k
suggested changes
Apr 12, 2021
Closed
Merged
a35ed7a to
baec25f
Compare
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
baec25f to
a4e093f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.