Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestMigrateExistingBoolColumnPGAndGaussDB (0.18 seconds)

  1. tests/migrate_test.go

    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    	if err := DB.Migrator().DropView("users_view"); err != nil {
    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    }
    
    func TestMigrateExistingBoolColumnPGAndGaussDB(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" {
    		return
    	}
    
    	type ColumnStruct struct {
    		gorm.Model
    		Name         string
    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