- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for wrapMockMigrator (0.12 sec)
-
tests/migrate_test.go
} return fmt.Errorf("trigger alter column error, field: %s", field) } func TestMigrateDonotAlterColumn(t *testing.T) { wrapMockMigrator := func(m gorm.Migrator) mockMigrator { return mockMigrator{ Migrator: m, } } m := DB.Migrator() mockM := wrapMockMigrator(m) type NotTriggerUpdate struct { ID uint F1 uint16 F2 uint32 F3 int F4 int64 F5 string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0)