- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AlterColumn (0.06 sec)
-
migrator/migrator.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
migrator.go
GetTables() (tableList []string, err error) TableType(dst interface{}) (TableType, error) // Columns AddColumn(dst interface{}, field string) error DropColumn(dst interface{}, field string) error AlterColumn(dst interface{}, field string) error MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error // MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn.
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/migrate_test.go
AssertEqual(t, nil, err) AssertEqual(t, "integer[]", ct.DatabaseTypeName()) } type mockMigrator struct { gorm.Migrator } func (mm mockMigrator) AlterColumn(dst interface{}, field string) error { err := mm.Migrator.AlterColumn(dst, field) if err != nil { return err } return fmt.Errorf("trigger alter column error, field: %s", field) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0)