Added index to segment.SessionId
This commit is contained in:
parent
d862a79c0f
commit
ed3f089736
@ -12,7 +12,7 @@ type DBSegment struct {
|
||||
SegmentEnd time.Time `gorm:"index"`
|
||||
SegmentStart time.Time `gorm:"index"`
|
||||
SegmentType string `gorm:"index"`
|
||||
SessionId string `gorm:"foreignKey"`
|
||||
SessionId string `gorm:"index;foreignKey"`
|
||||
WrapUpCode string
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user