We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6197a05 commit ed4ce52Copy full SHA for ed4ce52
tests/migrate_test.go
@@ -2002,7 +2002,7 @@ func TestOracleTypeCreateDrop(t *testing.T) {
2002
2003
// Verify it exists
2004
var count int
2005
- if err := DB.Raw(`SELECT COUNT(*) FROM USER_TYPES WHERE TYPE_NAME = UPPER(?)`, typeName).Scan(&count).Error; err != nil {
+ if err := DB.Raw(`SELECT COUNT(*) FROM USER_TYPES WHERE TYPE_NAME = LOWER(?)`, typeName).Scan(&count).Error; err != nil {
2006
t.Fatalf("Failed to verify created type: %v", err)
2007
}
2008
if count == 0 {
0 commit comments