aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-02-22 23:10:52 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-02-22 23:13:28 +0530
commit3ed35753e5a6d8ed05edc3ce750697d96cbbc309 (patch)
tree443b58045b5b6de33abc6f015e64476a3a9edc34
parenta333ba3f7f24dff3c50c7cf26a2fe2caa748a851 (diff)
downloadrails-3ed35753e5a6d8ed05edc3ce750697d96cbbc309.tar.gz
rails-3ed35753e5a6d8ed05edc3ce750697d96cbbc309.tar.bz2
rails-3ed35753e5a6d8ed05edc3ce750697d96cbbc309.zip
[ci skip] Updated migration version to 6.0 in the getting started docs
-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