Add indexes to some database tables
This commit is contained in:
parent
7ebec565b6
commit
a803ebb4f1
|
@ -82,7 +82,7 @@ func (DB_Loadout) TableName() string {
|
|||
|
||||
type DB_Item struct {
|
||||
ID string `gorm:"primary_key"`
|
||||
ProfileID string
|
||||
ProfileID string `gorm:"index"`
|
||||
TemplateID string
|
||||
Quantity int
|
||||
Favorite bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user