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:
commit
1cc7e699f4
1 changed files with 6 additions and 0 deletions
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in a new issue