package migrator

Import Path
	gorm.io/gorm/migrator (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files
	    migrator.go

Exported Type Names

type BuildIndexOptionsInterface (interface) (T) BuildIndexOptions([]schema.IndexOption, *gorm.Statement) []interface{} Migrator gorm.io/driver/mysql.Migrator
type Config (struct) Config schema config CreateIndexAfterCreateTable bool DB *gorm.DB Dialector gorm.Dialector (T) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) (T) DataTypeOf(*schema.Field) string (T) DefaultValueOf(*schema.Field) clause.Expression (T) Explain(sql string, vars ...interface{}) string (T) Initialize(*gorm.DB) error (T) Migrator(db *gorm.DB) gorm.Migrator (T) Name() string (T) QuoteTo(clause.Writer, string) T : gorm.io/gorm.Dialector T : gorm.io/gorm.Plugin
type GormDataTypeInterface (interface) (T) GormDBDataType(*gorm.DB, *schema.Field) string
type Migrator (struct) Migrator m struct Config Config Config.CreateIndexAfterCreateTable bool Config.DB *gorm.DB Config.Dialector gorm.Dialector (T) AddColumn(value interface{}, field string) error (T) AlterColumn(value interface{}, field string) error (T) AutoMigrate(values ...interface{}) error (T) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) (T) BuildIndexOptions(opts []schema.IndexOption, stmt *gorm.Statement) (results []interface{}) (T) ColumnTypes(value interface{}) (columnTypes []gorm.ColumnType, err error) (T) CreateConstraint(value interface{}, name string) error (T) CreateIndex(value interface{}, name string) error (T) CreateTable(values ...interface{}) error (T) CreateView(name string, option gorm.ViewOption) error (T) CurrentDatabase() (name string) (T) CurrentTable(stmt *gorm.Statement) interface{} (T) DataTypeOf(field *schema.Field) string (T) DefaultValueOf(*schema.Field) clause.Expression (T) DropColumn(value interface{}, name string) error (T) DropConstraint(value interface{}, name string) error (T) DropIndex(value interface{}, name string) error (T) DropTable(values ...interface{}) error (T) DropView(name string) error (T) Explain(sql string, vars ...interface{}) string (T) FullDataTypeOf(field *schema.Field) (expr clause.Expr) (T) HasColumn(value interface{}, field string) bool (T) HasConstraint(value interface{}, name string) bool (T) HasIndex(value interface{}, name string) bool (T) HasTable(value interface{}) bool (T) Initialize(*gorm.DB) error (T) MigrateColumn(value interface{}, field *schema.Field, columnType gorm.ColumnType) error (T) Migrator(db *gorm.DB) gorm.Migrator (T) Name() string (T) QuoteTo(clause.Writer, string) (T) RenameColumn(value interface{}, oldName, newName string) error (T) RenameIndex(value interface{}, oldName, newName string) error (T) RenameTable(oldName, newName interface{}) error (T) ReorderModels(values []interface{}, autoAdd bool) (results []interface{}) (T) RunWithValue(value interface{}, fc func(*gorm.Statement) error) error T : BuildIndexOptionsInterface T : gorm.io/gorm.Dialector T : gorm.io/gorm.Migrator T : gorm.io/gorm.Plugin