If your current database has the correct schema, you should:
-
Run pending migrations (if any)
rake db:migrate -
Overwrite your
schema.rbfrom your current database schemarake db:schema:dump -
And commit
If your current database has the correct schema, you should:
Run pending migrations (if any)
rake db:migrate
Overwrite your schema.rb from your current database schema
rake db:schema:dump
And commit