Changed old raw.go into gencloud.go Added GCRaw model

This commit is contained in:
2025-07-01 14:01:09 +10:00
parent 42f9ba2848
commit abf0d6caf0
3 changed files with 222 additions and 181 deletions

View File

@@ -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"
}