From a803ebb4f18d8a710e960782f9ff800ff3c60174 Mon Sep 17 00:00:00 2001 From: Eccentric Date: Wed, 31 Jan 2024 16:20:13 +0000 Subject: [PATCH] Add indexes to some database tables --- storage/tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/tables.go b/storage/tables.go index d48711a..26de871 100644 --- a/storage/tables.go +++ b/storage/tables.go @@ -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