Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMigrateWithDefaultValue (0.14 sec)

  1. tests/migrate_test.go

    	AssertEqual(t, nil, err)
    
    	_, err = findColumnType(&GameUser{}, "rate_ground_rb_ground_destroy_count")
    	AssertEqual(t, nil, err)
    }
    
    func TestMigrateWithDefaultValue(t *testing.T) {
    	if DB.Dialector.Name() == "sqlserver" {
    		// sqlserver driver treats NULL and 'NULL' the same
    		t.Skip("skip sqlserver")
    	}
    
    	type NullModel struct {
    		ID      uint
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top