Added foreign key relations to all core components
This commit is contained in:
@@ -15,6 +15,8 @@ type DBSession struct {
|
||||
Recording bool
|
||||
RemoteNameDisplayable string
|
||||
SessionDnis string
|
||||
|
||||
Segments []DBSegment `gorm:"foreignKey:SessionId;references:Id"`
|
||||
}
|
||||
|
||||
func (DBSession) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user