Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for custom_unique_name (0.08 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,
    			},
    		})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top