Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct { pgmodels.Model ModuleName string `pg:"module_name"` // 模块名称 FullName string `pg:"full_name"` // 运行模块的全程(make_migration)生成 ExecTime time.Time `pg:"exec_time"` // 运行时间 Version string `pg:"version"` // 迁移版本 Force bool `pg:"force"` // 是否为强制运行 Success bool `pg:"success"` // 是否运行成功(不报错即为运行成功) IsFake bool `pg:"is_fake"` // 是否是人工标记为执行成功 // contains filtered or unexported fields }
var (
S Schema
)
func (Schema) CreateConstraint ¶
func (Schema) CreateIndex ¶
func (Schema) CreateTable ¶
func (Schema) CreateTrigger ¶
Click to show internal directories.
Click to hide internal directories.