Skip to content

Commit

Permalink
Update: The version is the language version, see ##3
Browse files Browse the repository at this point in the history
  • Loading branch information
excing committed Feb 19, 2021
1 parent ccd5927 commit cd14c1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ent/schema/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ func (Content) Edges() []ent.Edge {
return []ent.Edge{
edge.From("version", Version.Type).Ref("history").Unique().Required(),
edge.To("sections", Section.Type),
edge.To("lang", Language.Type),
}
}

0 comments on commit cd14c1b

Please sign in to comment.