MCPcopy
hub / github.com/go-gorm/gorm / RenameTable

Method RenameTable

migrator.go:81–81  ·  view source on GitHub ↗
(oldName, newName interface{})

Source from the content-addressed store, hash-verified

79 DropTable(dst ...interface{}) error
80 HasTable(dst interface{}) bool
81 RenameTable(oldName, newName interface{}) error
82 GetTables() (tableList []string, err error)
83 TableType(dst interface{}) (TableType, error)
84

Callers 1

TestMigrateTableFunction · 0.65

Implementers 1

Migratormigrator/migrator.go

Calls

no outgoing calls

Tested by 1

TestMigrateTableFunction · 0.52