- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dialectors (0.07 sec)
-
tests/migrate_test.go
t.Fatalf("Found deleted column") } } func TestMigrateColumns(t *testing.T) { tidbSkip(t, "use another test case") sqlite := DB.Dialector.Name() == "sqlite" sqlserver := DB.Dialector.Name() == "sqlserver" type ColumnStruct struct { gorm.Model Name string Age int `gorm:"default:18;comment:my age"` Code string `gorm:"unique;comment:my code;"`
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
tests/query_test.go
if !strings.Contains(resultType, "int") { t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName]) } case "Birthday": if !strings.Contains(resultType, "Time") && !(DB.Dialector.Name() == "sqlite" && strings.Contains(resultType, "string")) { t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName]) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0)