Changed old raw.go into gencloud.go Added GCRaw model
This commit is contained in:
1 parent
42f9ba2848
commit
abf0d6caf0
3 files changed
+222
-181
No files matched your search
+15
-1
@@ -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