Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 42f9ba2848 | |||
| 055ad59d12 |
18
models/amendment.go
Normal file
18
models/amendment.go
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package models
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
|
type DBAmendment struct {
|
||||||
|
Id int `gorm:"index"`
|
||||||
|
IndexColumn string `gorm:"primaryKey;index"`
|
||||||
|
IndexId string `gorm:"primaryKey;index"`
|
||||||
|
Table string `gorm:"primaryKey;index"`
|
||||||
|
AmendmentColumn string
|
||||||
|
AmendmentValue string
|
||||||
|
Requestor string
|
||||||
|
Timestamp time.Time
|
||||||
|
}
|
||||||
|
|
||||||
|
func (DBConversation) TableName() string {
|
||||||
|
return "gc_amendments"
|
||||||
|
}
|
||||||
@@ -119,7 +119,7 @@ func ExtractWithoutAttributes(base models.AnalyticsConversationWithoutAttributes
|
|||||||
SegmentEnd: segmentEnd,
|
SegmentEnd: segmentEnd,
|
||||||
SegmentStart: segmentStart,
|
SegmentStart: segmentStart,
|
||||||
SegmentType: seg.SegmentType,
|
SegmentType: seg.SegmentType,
|
||||||
SessionId: sess.SessionId,
|
SessionId: session.Id,
|
||||||
WrapUpCode: seg.WrapUpCode,
|
WrapUpCode: seg.WrapUpCode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user