Skip to content

Commit c667681

Browse files
committed
update the drop type syntax
1 parent 3fa3085 commit c667681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oracle/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ func (m Migrator) DropType(typeName string) error {
500500
return fmt.Errorf("DropOracleType: typeName is required")
501501
}
502502

503-
sql := fmt.Sprintf(`DROP TYPE "%s";`, strings.ToLower(typeName))
503+
sql := fmt.Sprintf(`DROP TYPE "%s"`, strings.ToLower(typeName))
504504

505505
return m.DB.Exec(sql).Error
506506
}

0 commit comments

Comments
 (0)