mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
entc/gen: fix format for field comments (#511)
This commit is contained in:
@@ -10,9 +10,11 @@ const (
|
||||
// Label holds the string label denoting the card type in the database.
|
||||
Label = "card"
|
||||
// FieldID holds the string denoting the id field in the database.
|
||||
FieldID = "id" // FieldExpired holds the string denoting the expired vertex property in the database.
|
||||
FieldExpired = "expired" // FieldNumber holds the string denoting the number vertex property in the database.
|
||||
FieldNumber = "number"
|
||||
FieldID = "id"
|
||||
// FieldExpired holds the string denoting the expired field in the database.
|
||||
FieldExpired = "expired"
|
||||
// FieldNumber holds the string denoting the number field in the database.
|
||||
FieldNumber = "number"
|
||||
|
||||
// EdgeOwner holds the string denoting the owner edge name in mutations.
|
||||
EdgeOwner = "owner"
|
||||
|
||||
@@ -10,8 +10,10 @@ const (
|
||||
// Label holds the string label denoting the user type in the database.
|
||||
Label = "user"
|
||||
// FieldID holds the string denoting the id field in the database.
|
||||
FieldID = "id" // FieldAge holds the string denoting the age vertex property in the database.
|
||||
FieldAge = "age" // FieldName holds the string denoting the name vertex property in the database.
|
||||
FieldID = "id"
|
||||
// FieldAge holds the string denoting the age field in the database.
|
||||
FieldAge = "age"
|
||||
// FieldName holds the string denoting the name field in the database.
|
||||
FieldName = "name"
|
||||
|
||||
// EdgeCard holds the string denoting the card edge name in mutations.
|
||||
|
||||
Reference in New Issue
Block a user