diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-11-14 20:02:52 +0000 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-11-14 20:02:52 +0000 |
commit | 46a2f93614ccf0d1628e6fc3c4666cee476d17c8 (patch) | |
tree | de63a1f248addeed3ef7b062d974e661adc1e3ff | |
parent | 79c3d5a67d095379f72746b7b9f485861cdf9d07 (diff) | |
download | rails-46a2f93614ccf0d1628e6fc3c4666cee476d17c8.tar.gz rails-46a2f93614ccf0d1628e6fc3c4666cee476d17c8.tar.bz2 rails-46a2f93614ccf0d1628e6fc3c4666cee476d17c8.zip |
Fix migration version in doc of #up_only
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 67c8c9fc08..360bf25a8c 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -740,7 +740,7 @@ module ActiveRecord # In the following example, the new column `published` will be given # the value `true` for all existing records. # - # class AddPublishedToPosts < ActiveRecord::Migration[5.3] + # class AddPublishedToPosts < ActiveRecord::Migration[5.2] # def change # add_column :posts, :published, :boolean, default: false # up_only do |