forked from mirrors/homebox
remove unused field
This commit is contained in:
parent
ce3d73ab42
commit
22cd088657
38 changed files with 496 additions and 1044 deletions
|
@ -29,6 +29,8 @@ const (
|
|||
FieldDescription = "description"
|
||||
// FieldCost holds the string denoting the cost field in the database.
|
||||
FieldCost = "cost"
|
||||
// FieldRemindersEnabled holds the string denoting the reminders_enabled field in the database.
|
||||
FieldRemindersEnabled = "reminders_enabled"
|
||||
// EdgeItem holds the string denoting the item edge name in mutations.
|
||||
EdgeItem = "item"
|
||||
// Table holds the table name of the maintenanceentry in the database.
|
||||
|
@ -53,6 +55,7 @@ var Columns = []string{
|
|||
FieldName,
|
||||
FieldDescription,
|
||||
FieldCost,
|
||||
FieldRemindersEnabled,
|
||||
}
|
||||
|
||||
// ValidColumn reports if the column name is valid (part of the table columns).
|
||||
|
@ -78,6 +81,8 @@ var (
|
|||
DescriptionValidator func(string) error
|
||||
// DefaultCost holds the default value on creation for the "cost" field.
|
||||
DefaultCost float64
|
||||
// DefaultRemindersEnabled holds the default value on creation for the "reminders_enabled" field.
|
||||
DefaultRemindersEnabled bool
|
||||
// DefaultID holds the default value on creation for the "id" field.
|
||||
DefaultID func() uuid.UUID
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue