Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGaussDBAlterColumnDataType (0.87 sec)

  1. tests/gaussdb_test.go

    	if err := DB.Find(&things).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	if len(things) > 1 {
    		t.Errorf("expected 1 thing got more")
    	}
    }
    
    func TestGaussDBAlterColumnDataType(t *testing.T) {
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&Company{})
    	DB.AutoMigrate(Company{})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top