Fix migration version in doc of #up_only

This commit is contained in:
bogdanvlviv 2017-11-14 20:02:52 +00:00
parent 79c3d5a67d
commit 46a2f93614
No known key found for this signature in database
GPG Key ID: E4ACD76A6DB6DFDD

@ -740,7 +740,7 @@ def reversible
# 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