Documentation ¶
Index ¶
Constants ¶
View Source
const MigrationTable = "leaf_migrations"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataVersion ¶
type DataVersion struct { // Note: concat Version and NeutralizedName // NeutralizedName is name replace space with _ ObjectID primitive.ObjectID `json:"_id" bson:"_id" gorm:"-"` ID string `json:"id" bson:"id" gorm:"primaryKey;column=id"` Version uint64 `json:"version" json:"version" gorm:"index;column=version"` Name string `json:"name" json:"name" gorm:"column=name"` ExecuteTime string `json:"execute_time" json:"execute_time" gorm:"column=execute_time"` }
func (*DataVersion) TableName ¶
func (d *DataVersion) TableName() string
func (*DataVersion) ToBson ¶
func (d *DataVersion) ToBson() bson.M
Click to show internal directories.
Click to hide internal directories.