mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
go: update atlas and test global-unique-id migration (#2661)
This commit is contained in:
@@ -175,7 +175,7 @@ func (Car) Edges() []ent.Edge {
|
||||
edge.From("owner", User.Type).
|
||||
Ref("car").
|
||||
Unique().
|
||||
// Make a M20 edge from nullable to required.
|
||||
// Make the M20 edge from nullable to required edge.
|
||||
// Requires column and foreign-key migration.
|
||||
Required(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user