Added DBAmendment model
This commit is contained in:
parent
055ad59d12
commit
42f9ba2848
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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user