19 lines
417 B
Go
19 lines
417 B
Go
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"
|
|
}
|