Compare commits
1 Commits
v2.0.0
...
959ccdca35
| Author | SHA1 | Date | |
|---|---|---|---|
| 959ccdca35 |
@@ -17,8 +17,8 @@ import "time"
|
|||||||
// Indexes: Id, ConversationId, RequestedAt
|
// Indexes: Id, ConversationId, RequestedAt
|
||||||
type DBAmendment struct {
|
type DBAmendment struct {
|
||||||
Id int `gorm:"primaryKey;autoIncrement"`
|
Id int `gorm:"primaryKey;autoIncrement"`
|
||||||
ConversationId string `gorm:"index"`
|
ConversationId string `gorm:"uniqueIndex:idx_amendment_conv_column"`
|
||||||
AmendmentColumn string
|
AmendmentColumn string `gorm:"uniqueIndex:idx_amendment_conv_column"`
|
||||||
AmendmentValue string
|
AmendmentValue string
|
||||||
Requestor string
|
Requestor string
|
||||||
RequestedAt time.Time `gorm:"index"`
|
RequestedAt time.Time `gorm:"index"`
|
||||||
|
|||||||
Reference in New Issue
Block a user