Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for alterSQL (0.51 sec)

  1. tests/migrate_test.go

    	modSql := testAutoMigrateDecimal(t, t1, t2)
    	var alterSQL []string
    	for _, sql := range modSql {
    		if strings.HasPrefix(sql, "ALTER TABLE ") {
    			alterSQL = append(alterSQL, sql)
    		}
    	}
    
    	if len(alterSQL) != 3 {
    		t.Fatalf("decimal changed error,expected: %+v,got: %+v.", expectedSql, alterSQL)
    	}
    	for i := range alterSQL {
    		if alterSQL[i] != expectedSql[i] {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top