Re: [Rails] How do I load schema in rails 6

2019-11-29 Thread Ariel Juodziukynas
What do you mean that you have an error en your schema.rb? When you run a migration, rails dumps the current database schema (rails db:schema:dump). Maybe you have some merge conflict if you are using source control and someone fixed the conflict wrong, but the file shouldn't have errors since it's

Re: [Rails] How do I load schema in rails 6

2019-11-29 Thread fugee ohu
On Tuesday, November 26, 2019 at 9:37:54 AM UTC-5, Ariel Juodziukynas wrote: > > You were trying to reload the schema, db:schema:load requires an empty > database, I guessed you were OK with removing the data. db:reset it's just > a shortcut for drop > create > schema:load > seed. > > Why do yo