aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-18 22:57:28 +0900
committerGitHub <noreply@github.com>2017-10-18 22:57:28 +0900
commitcd92d2e57d8d504db2b9d01912902700bcf8d3e5 (patch)
tree600bd0a50619f305c28722afeda07e9c97e180af
parentded41a9b84299f536bc136d78069a50a2e867768 (diff)
parent615415ba8145b82ff8d303db3add0ece572eaf24 (diff)
downloadrails-cd92d2e57d8d504db2b9d01912902700bcf8d3e5.tar.gz
rails-cd92d2e57d8d504db2b9d01912902700bcf8d3e5.tar.bz2
rails-cd92d2e57d8d504db2b9d01912902700bcf8d3e5.zip
Merge pull request #30915 from bogdanvlviv/migration-version-in-bug_report_templates
Set proper migration' version in bug report templates
-rw-r--r--guides/bug_report_templates/active_record_migrations_gem.rb2
-rw-r--r--guides/bug_report_templates/active_record_migrations_master.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/active_record_migrations_gem.rb b/guides/bug_report_templates/active_record_migrations_gem.rb
index f75b6fd932..9002b8f428 100644
--- a/guides/bug_report_templates/active_record_migrations_gem.rb
+++ b/guides/bug_report_templates/active_record_migrations_gem.rb
@@ -37,7 +37,7 @@ end
class Payment < ActiveRecord::Base
end
-class ChangeAmountToAddScale < ActiveRecord::Migration[5.0]
+class ChangeAmountToAddScale < ActiveRecord::Migration[5.1]
def change
reversible do |dir|
dir.up do
diff --git a/guides/bug_report_templates/active_record_migrations_master.rb b/guides/bug_report_templates/active_record_migrations_master.rb
index 60416ed42f..fce8d1d848 100644
--- a/guides/bug_report_templates/active_record_migrations_master.rb
+++ b/guides/bug_report_templates/active_record_migrations_master.rb
@@ -37,7 +37,7 @@ end
class Payment < ActiveRecord::Base
end
-class ChangeAmountToAddScale < ActiveRecord::Migration[5.0]
+class ChangeAmountToAddScale < ActiveRecord::Migration[5.2]
def change
reversible do |dir|
dir.up do