Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for alterSQL (0.04 seconds)

  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] {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
Back to Top