Skip to content

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

Merged
rafaelfranca merged 1 commit intorails:mainfrom
camilamaia:43275
Sep 21, 2021
Merged

Add missing migrate command to Getting Started Guide section 8.3#43276
rafaelfranca merged 1 commit intorails:mainfrom
camilamaia:43275

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

3 participants