Skip to content

Commit f133004

Browse files
author
Ivan Denysov
authored
Clarify what 'running a migration' means
It is not obvious to beginners that by 'running a migration' we mean executing the `bin/rails db:migrate` command.
1 parent 037339e commit f133004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ and in `app/controllers/comments_controller.rb`:
17661766
end
17671767
```
17681768

1769-
Within the `article` model, after running a migration to add a `status` column, you would add:
1769+
Within the `article` model, after running a migration to add a `status` column using `bin/rails db:migrate` command, you would add:
17701770

17711771
```ruby
17721772
class Article < ApplicationRecord

0 commit comments

Comments
 (0)