Skip to content

Commit 30e2f97

Browse files
committed
Merge branch 'main' into test_code_coverage
2 parents 2f08e50 + ab06738 commit 30e2f97

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
@@ -310,7 +310,7 @@ func (m Migrator) DropColumn(value interface{}, name string) error {
310310
}
311311

312312
return m.DB.Exec(
313-
"ALTER TABLE ? DROP ?",
313+
"ALTER TABLE ? DROP COLUMN ?",
314314
clause.Table{Name: stmt.Schema.Table},
315315
clause.Column{Name: name},
316316
).Error

0 commit comments

Comments
 (0)