Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aa15b86efd |
@@ -3,7 +3,7 @@ package models
|
||||
import "time"
|
||||
|
||||
type DBAmendment struct {
|
||||
Id int `gorm:"primaryKey;index"`
|
||||
Id int `gorm:"primaryKey;autoIncrement"`
|
||||
ConversationId string `gorm:"index"`
|
||||
AmendmentColumn string
|
||||
AmendmentValue string
|
||||
@@ -16,7 +16,7 @@ func (DBAmendment) TableName() string {
|
||||
}
|
||||
|
||||
type DBAmendmentLog struct {
|
||||
Id int `gorm:"primaryKey;index"`
|
||||
Id int `gorm:"primaryKey;autoIncrement"`
|
||||
ConversationId string `gorm:"index"`
|
||||
AmendmentColumn string
|
||||
OldValue string
|
||||
|
||||
Reference in New Issue
Block a user