mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
@@ -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.
|
||||
|
||||
@@ -19,7 +19,7 @@ const (
|
||||
EdgeGroups = "groups"
|
||||
// Table holds the table name of the user in the database.
|
||||
Table = "users"
|
||||
// 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