Skip to content

Commit

Permalink
chore: improve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Oct 29, 2021
1 parent 71af086 commit 9674812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ func (t *Table) tryRelation(field *Field) bool {

if field.Tag.HasOption("join") {
internal.Warn.Printf(
`%s.%s option "join" requires a relation type`,
`%s.%s "join" option must come together with "rel" option`,
t.TypeName, field.GoName,
)
}
Expand Down

0 comments on commit 9674812

Please # to comment.