11 lines
229 B
Go
11 lines
229 B
Go
|
package model
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type Changelog struct {
|
||
|
gorm.Model
|
||
|
Operation string `gorm:"index;not null;default:''"`
|
||
|
Target string `gorm:"index;not null;default:''"`
|
||
|
Result string `gorm:"not null;default:''"`
|
||
|
}
|