Documentation ¶
Index ¶
- type DynDDL
- func (d *DynDDL) MetaNewColumn(tenantId, gslug, tslug string, model *entities.Column) (err error)
- func (d *DynDDL) MetaNewGroup(tenantId string, model *xbprint.NewTableGroup) (err error)
- func (d *DynDDL) MetaNewTable(tenantId, gslug string, model *xbprint.NewTable) error
- func (d *DynDDL) MetaRollbackColumn(tenantId, gslug, tslug, cslug string)
- func (d *DynDDL) MetaRollbackGroup(tenantId, gslug string)
- func (d *DynDDL) MetaRollbackTable(tenantId, gslug, tslug string)
- func (d *DynDDL) RunNew(tenantId string, migctx MigrateContext) error
- func (d *DynDDL) RunUpdate(tenantId string, migctx MigrateContext) error
- type MigrateContext
- type PostDDLItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynDDL ¶
type DynDDL struct {
// contains filtered or unexported fields
}
func (*DynDDL) MetaNewColumn ¶
func (*DynDDL) MetaNewGroup ¶
func (d *DynDDL) MetaNewGroup(tenantId string, model *xbprint.NewTableGroup) (err error)
func (*DynDDL) MetaNewTable ¶
func (*DynDDL) MetaRollbackColumn ¶
func (*DynDDL) MetaRollbackGroup ¶
func (*DynDDL) MetaRollbackTable ¶
type MigrateContext ¶
type MigrateContext struct { BaseSchema *xbprint.NewTableGroup StmtString string PostItems []PostDDLItem Siblings map[string]map[string]string Options step.MigrateOptions Gslug string LastMigHead string NextMigHead string }
Click to show internal directories.
Click to hide internal directories.