1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #43276 from camilamaia/43275

Add missing migrate command to Getting Started Guide section 8.3
This commit is contained in:
Rafael França 2021-09-21 18:49:44 -04:00 committed by GitHub
commit 1cc7e699f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1721,6 +1721,12 @@ $ bin/rails generate migration AddStatusToArticles status:string
$ bin/rails generate migration AddStatusToComments status:string
```
And next, let's update the database with the generated migrations:
```bash
$ bin/rails db:migrate
```
TIP: To learn more about migrations, see [Active Record Migrations](
active_record_migrations.html).