Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAutoMigrateInt8PG (0.13 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 TestAutoMigrateInt8PG(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	type Smallint int8
    
    	type MigrateInt struct {
    		Int8 Smallint
    	}
    
    	tracer := Tracer{
    		Logger: DB.Config.Logger,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top