Added DBAmendment model

This commit is contained in:
Frederick Holland 2025-06-27 15:05:06 +10:00
parent 055ad59d12
commit 42f9ba2848

18
models/amendment.go Normal file
View 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"
}