Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for multiIndex (0.6 sec)

  1. tests/migrate_test.go

    			}
    		}
    		checkMulIndex = func(t *testing.T) {
    			checkColumnType(t, "name", false)
    			checkColumnType(t, "nick_name", false)
    			if !DB.Migrator().HasIndex(table, mulIndex.Name()) {
    				t.Errorf("%v: should has index %s but not", utils.FileWithLineNum(), mulIndex.Name())
    			}
    		}
    	}
    
    	tests := []TestCase{
    		{name: "notUnique to notUnique", from: &UniqueStruct1{}, to: &UniqueStruct2{}, checkFunc: checkNotUnique},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top