Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVery180f2c67 (0.31 sec)

  1. schema/naming_test.go

    	ns := NamingStrategy{IdentifierMaxLength: 64}
    
    	formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
    	if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVery180f2c67" {
    		t.Errorf("invalid formatted name generated, got %v", formattedName)
    	}
    }
    
    func TestReplaceEmptyTableName(t *testing.T) {
    	ns := NamingStrategy{
    		SingularTable: true,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top