Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TableType (0.04 seconds)

  1. tests/migrate_test.go

    	}
    
    	tableType, err := DB.Table("cities").Migrator().TableType(&City{})
    	if err != nil {
    		t.Fatalf("failed to get table type, got error %v", err)
    	}
    
    	if tableType.Schema() != tblSchema {
    		t.Fatalf("expected tblSchema to be %s but got %s", tblSchema, tableType.Schema())
    	}
    
    	if tableType.Name() != tblName {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
Back to Top