aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-11-14 15:38:32 -0500
committerGitHub <noreply@github.com>2017-11-14 15:38:32 -0500
commit0d90a8812e96b2498e11d76c2f09e112639287d1 (patch)
treede63a1f248addeed3ef7b062d974e661adc1e3ff /activerecord
parent79c3d5a67d095379f72746b7b9f485861cdf9d07 (diff)
parent46a2f93614ccf0d1628e6fc3c4666cee476d17c8 (diff)
downloadrails-0d90a8812e96b2498e11d76c2f09e112639287d1.tar.gz
rails-0d90a8812e96b2498e11d76c2f09e112639287d1.tar.bz2
rails-0d90a8812e96b2498e11d76c2f09e112639287d1.zip
Merge pull request #31154 from bogdanvlviv/fix-migration-version-in-doc-of-up_only
Fix migration version in doc of #up_only
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/migration.rb2
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