Add indexes to some database tables

This commit is contained in:
Eccentric 2024-01-31 16:20:13 +00:00
parent 7ebec565b6
commit a803ebb4f1

View File

@ -82,7 +82,7 @@ func (DB_Loadout) TableName() string {
type DB_Item struct { type DB_Item struct {
ID string `gorm:"primary_key"` ID string `gorm:"primary_key"`
ProfileID string ProfileID string `gorm:"index"`
TemplateID string TemplateID string
Quantity int Quantity int
Favorite bool Favorite bool