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 c667681 commit dfa4ed6Copy full SHA for dfa4ed6
oracle/migrator.go
@@ -500,8 +500,7 @@ func (m Migrator) DropType(typeName string) error {
500
return fmt.Errorf("DropOracleType: typeName is required")
501
}
502
503
- sql := fmt.Sprintf(`DROP TYPE "%s"`, strings.ToLower(typeName))
504
-
+ sql := fmt.Sprintf(`DROP TYPE "%s" FORCE`, strings.ToLower(typeName))
505
return m.DB.Exec(sql).Error
506
507
0 commit comments