I have inherited a Ruby on Rails project where the programmer didn’t use rake to create the db schema, so it seems very out of synch, is there a way to rectify this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First create a schema.rb file
rake db:schema:dumpThen make a migration ot of it.
You might also need to create the schema_migrations table, and manually add the timestamp for this migration to it.