Have you tried simply using rake load task? This should do the trick. heroku run rake db:structure:load
2014-10-13 9:24 GMT+02:00 Hemant Gupta <[email protected]>: > Ithink It should worked... > > cd your-rails-project > heroku pg:psql -a your-app-name <db/structure.sql > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/b8b6cc8953538e12e22961e9abc79316%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABNBvv1FpuNPa1%2BvB%3DkSLDW3_5fZOmBUz%2BqTwj4pLXs_pdSLng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

