Skip to content

Commit 9c9d494

Browse files
committed
remove_column does not take a type argument. [ci skip]. Closes rails#12864
1 parent bba8bb8 commit 9c9d494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ generates
179179
```ruby
180180
class RemovePartNumberFromProducts < ActiveRecord::Migration
181181
def change
182-
remove_column :products, :part_number, :string
182+
remove_column :products, :part_number
183183
end
184184
end
185185
```

0 commit comments

Comments
 (0)