Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAutoMigrateInt8PGAndGaussDB (0.55 sec)

  1. tests/migrate_test.go

    		{"users", "fk_users_company"},
    	} {
    		if !DB.Migrator().HasConstraint(indexes[0], indexes[1]) {
    			t.Fatalf("Failed to find index for many2many for %v %v", indexes[0], indexes[1])
    		}
    	}
    }
    
    func TestAutoMigrateInt8PGAndGaussDB(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" {
    		return
    	}
    
    	type Smallint int8
    
    	type MigrateInt struct {
    		Int8 Smallint
    	}
    
    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