With Ruby, the migration only use a rake command, but in NodeJS, i'm not sure how i can do that. Any idea?
2 Answers
You could copy your database up using taps
1 Comment
adamwong246
Taps, I believe, use migrations. I just tried to push my database to heroku but the logs say that my relation (ie table) 'posts' does not exist. So I'm guessing the push command only updates data, not the structure of you db. Perhaps you could shell into the heroku database and recreate the tables there? But there must be an easier way.