entc/gen: fix typo in templates (#1760)

* fix typo

* fix typo
This commit is contained in:
Neel Modi
2021-07-22 14:49:39 +05:30
committed by GitHub
parent 0751c342c6
commit 051f19a997
67 changed files with 132 additions and 132 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.