remove unused field

This commit is contained in:
Hayden 2023-03-22 20:16:04 -08:00
parent ce3d73ab42
commit 22cd088657
No known key found for this signature in database
GPG key ID: 17CF79474E257545
38 changed files with 496 additions and 1044 deletions

View file

@ -328,6 +328,7 @@ var (
{Name: "name", Type: field.TypeString, Size: 255},
{Name: "description", Type: field.TypeString, Nullable: true, Size: 2500},
{Name: "cost", Type: field.TypeFloat64, Default: 0},
{Name: "reminders_enabled", Type: field.TypeBool, Default: false},
{Name: "item_id", Type: field.TypeUUID},
}
// MaintenanceEntriesTable holds the schema information for the "maintenance_entries" table.
@ -338,7 +339,7 @@ var (
ForeignKeys: []*schema.ForeignKey{
{
Symbol: "maintenance_entries_items_maintenance_entries",
Columns: []*schema.Column{MaintenanceEntriesColumns[8]},
Columns: []*schema.Column{MaintenanceEntriesColumns[9]},
RefColumns: []*schema.Column{ItemsColumns[0]},
OnDelete: schema.Cascade,
},