mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
@@ -19,7 +19,7 @@ const (
|
||||
EdgeOwner = "owner"
|
||||
// Table holds the table name of the car in the database.
|
||||
Table = "cars"
|
||||
// OwnerTable is the table the holds the owner relation/edge.
|
||||
// OwnerTable is the table that holds the owner relation/edge.
|
||||
OwnerTable = "cars"
|
||||
// OwnerInverseTable is the table name for the User entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "user" package.
|
||||
|
||||
@@ -17,7 +17,7 @@ const (
|
||||
EdgeUsers = "users"
|
||||
// Table holds the table name of the group in the database.
|
||||
Table = "groups"
|
||||
// UsersTable is the table the holds the users relation/edge. The primary key declared below.
|
||||
// UsersTable is the table that holds the users relation/edge. The primary key declared below.
|
||||
UsersTable = "group_users"
|
||||
// UsersInverseTable is the table name for the User entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "user" package.
|
||||
|
||||
@@ -21,14 +21,14 @@ const (
|
||||
EdgeGroups = "groups"
|
||||
// Table holds the table name of the user in the database.
|
||||
Table = "users"
|
||||
// CarsTable is the table the holds the cars relation/edge.
|
||||
// CarsTable is the table that holds the cars relation/edge.
|
||||
CarsTable = "cars"
|
||||
// CarsInverseTable is the table name for the Car entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "car" package.
|
||||
CarsInverseTable = "cars"
|
||||
// CarsColumn is the table column denoting the cars relation/edge.
|
||||
CarsColumn = "user_cars"
|
||||
// GroupsTable is the table the holds the groups relation/edge. The primary key declared below.
|
||||
// GroupsTable is the table that holds the groups relation/edge. The primary key declared below.
|
||||
GroupsTable = "group_users"
|
||||
// GroupsInverseTable is the table name for the Group entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "group" package.
|
||||
|
||||
Reference in New Issue
Block a user