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.
This commit is contained in:
Ivan Denysov 2021-11-09 22:42:43 +01:00 committed by GitHub
parent 037339e892
commit f1330049e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1766,7 +1766,7 @@ and in `app/controllers/comments_controller.rb`:
end
```
Within the `article` model, after running a migration to add a `status` column, you would add:
Within the `article` model, after running a migration to add a `status` column using `bin/rails db:migrate` command, you would add:
```ruby
class Article < ApplicationRecord