Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unique_name (0.27 sec)

  1. tests/table_test.go

    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    	t.Run("namer", func(t *testing.T) {
    		uname := "custom_unique_name"
    		db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{
    			NamingStrategy: mockUniqueNamingStrategy{
    				UName: uname,
    			},
    		})
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top