Skip to content

Commit 1cc7e69

Browse files
authored
Merge pull request rails#43276 from camilamaia/43275
Add missing migrate command to Getting Started Guide section 8.3
2 parents 1eab332 + edc5ee1 commit 1cc7e69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

guides/source/getting_started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,12 @@ $ bin/rails generate migration AddStatusToArticles status:string
17211721
$ bin/rails generate migration AddStatusToComments status:string
17221722
```
17231723

1724+
And next, let's update the database with the generated migrations:
1725+
1726+
```bash
1727+
$ bin/rails db:migrate
1728+
```
1729+
17241730
TIP: To learn more about migrations, see [Active Record Migrations](
17251731
active_record_migrations.html).
17261732

0 commit comments

Comments
 (0)