Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing migrate command to Getting Started Guide section 8.3 #43276

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

camilamaia
Copy link
Contributor

@camilamaia camilamaia commented Sep 21, 2021

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

image

It fixes the bug #43275

Closes #43275

@rails-bot rails-bot bot added the docs label Sep 21, 2021
@rafaelfranca rafaelfranca merged commit 1cc7e69 into rails:main Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing migrate command on Getting Started Guide section 8.3
3 participants