aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-02-22 17:20:44 -0500
committerGitHub <noreply@github.com>2019-02-22 17:20:44 -0500
commita796de1bd644b54e2c27577319c262af0de56e8f (patch)
tree8fa41746dd7f3fbc117b08a438bc7d000af874b7
parent1bcdfe55cf7a8a336b08cffd697141da3d90f213 (diff)
parent3ed35753e5a6d8ed05edc3ce750697d96cbbc309 (diff)
downloadrails-a796de1bd644b54e2c27577319c262af0de56e8f.tar.gz
rails-a796de1bd644b54e2c27577319c262af0de56e8f.tar.bz2
rails-a796de1bd644b54e2c27577319c262af0de56e8f.zip
Merge pull request #35367 from abhaynikam/update-getting-started-doc-for-migration-version-in-rails-6
Update migration version to 6.0 in the getting started doc [ci skip]
-rw-r--r--guides/source/getting_started.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index be59cd0cfa..7ee0d8c916 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -683,7 +683,7 @@ If you look in the `db/migrate/YYYYMMDDHHMMSS_create_articles.rb` file
(remember, yours will have a slightly different name), here's what you'll find:
```ruby
-class CreateArticles < ActiveRecord::Migration[5.0]
+class CreateArticles < ActiveRecord::Migration[6.0]
def change
create_table :articles do |t|
t.string :title
@@ -1555,7 +1555,7 @@ In addition to the model, Rails has also made a migration to create the
corresponding database table:
```ruby
-class CreateComments < ActiveRecord::Migration[5.0]
+class CreateComments < ActiveRecord::Migration[6.0]
def change
create_table :comments do |t|
t.string :commenter