Skip to content

Commit 31572eb

Browse files
committed
fix: index
1 parent 37c7f4a commit 31572eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/pkd/postcode/pcmodel/countytimeslot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
type CountyTimeSlot struct {
2222
gorm.Model
23-
StartDate time.Time
23+
StartDate time.Time `gorm:"index:idx_pc_cts_startdate"`
2424
GsAvgValues
2525
CountyDataID uint
2626
CountyData CountyData

0 commit comments

Comments
 (0)