Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestSmartMigrateColumn (0.11 seconds)

  1. tests/migrate_test.go

    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("stock's nullable should be true, bug got %t", nullable)
    			}
    		}
    	}
    }
    
    func TestSmartMigrateColumn(t *testing.T) {
    	fullSupported := map[string]bool{"mysql": true, "postgres": true, "gaussdb": true}[DB.Dialector.Name()]
    
    	type UserMigrateColumn struct {
    		ID       uint
    		Name     string
    		Salary   float64
    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