Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

With Ruby, the migration only use a rake command, but in NodeJS, i'm not sure how i can do that. Any idea?

share|improve this question
    
Is this what you are what you are looking for devcenter.heroku.com/articles/heroku-postgresql ? But look out! "Please note that all of these database plans incur non-trivial charges" – adamwong246 May 1 '12 at 8:39
up vote 0 down vote accepted

You could copy your database up using taps

share|improve this answer
    
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. – adamwong246 May 1 '12 at 8:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.