Changed old raw.go into gencloud.go Added GCRaw model
This commit is contained in:
@@ -13,6 +13,20 @@ type DBAmendment struct {
|
||||
Timestamp time.Time
|
||||
}
|
||||
|
||||
func (DBConversation) TableName() string {
|
||||
func (DBAmendment) TableName() string {
|
||||
return "gc_amendments"
|
||||
}
|
||||
|
||||
type DBAmendmentLog struct {
|
||||
Id int `gorm:"index"`
|
||||
Table string `gorm:"primaryKey;index"`
|
||||
AmendmentColumn string
|
||||
OldValue string
|
||||
NewValue string
|
||||
Requestor string
|
||||
Timestamp time.Time
|
||||
}
|
||||
|
||||
func (DBAmendmentLog) TableName() string {
|
||||
return "gc_amendment_logs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user