3
Add missing migrate command to Getting Started Guide section 8.3 by camilamaia ·...
source link: https://github.com/rails/rails/pull/43276
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Summary
This PR adds a missing bin/rails db:migrate
command right after:
$ bin/rails generate migration AddStatusToArticles status:string
$ bin/rails generate migration AddStatusToComments status:string
on Getting Started Guide section 8.3. Without the migrate command, the application throws an SQLite3::SQLException Table comments has no column named status
It fixes the bug #43275
Closes #43275
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK