diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-06-30 17:35:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 17:35:52 +0900 |
commit | e295e51b83762e04217b3f93fb12a1c7d7ba8ec5 (patch) | |
tree | 66d40a19c2d3daef99a58c6b8d528f56b5c8dd80 | |
parent | d1062732aee590dd0c557dd486356864b32b34f0 (diff) | |
parent | 7be279a64456b33cd745720ab3dd1c59482bc542 (diff) | |
download | rails-e295e51b83762e04217b3f93fb12a1c7d7ba8ec5.tar.gz rails-e295e51b83762e04217b3f93fb12a1c7d7ba8ec5.tar.bz2 rails-e295e51b83762e04217b3f93fb12a1c7d7ba8ec5.zip |
Merge pull request #33262 from gsmnv/patch-1
Remove erroneous remove_column option from example
[ci skip]
-rw-r--r-- | guides/source/active_record_migrations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index dda87802bf..9d33de5fa2 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -560,7 +560,7 @@ argument. Provide the original column options too, otherwise Rails can't recreate the column exactly when rolling back: ```ruby -remove_column :posts, :slug, :string, null: false, default: '', index: true +remove_column :posts, :slug, :string, null: false, default: '' ``` If you're going to need to use any other methods, you should use `reversible` |