DEV Community 👩‍💻👨‍💻


Posted on

Had issues with my Database

Today I had a problem with my rails sample data appearing in MSM sign in. The real issue was that I was not adding rails db:migrate to the terminal after adding tables.Also, I was not adding the:

rails generate migration AddImageToMovies Image:string

rails db:migrate

this adds to the tables in your schema which will help the rails sample_data to appear in your app, because it has somewhere to go to.

Top comments (0)

12 Rarely Used Javascript APIs You Need

>> Check out this classic DEV post <<