in Web & Tech

Datenbank-Migration auf Herkou

Wenn Heroku nach rake db:migrate auf Seiten mit Datenbankzugriff nur “Something went wrong” anzeigt.

bundle exec rake assets:precompile
git add .
git commit -am "add a note reflecting changes made"
git push
heroku create
git push heroku master
heroku rake db:migrate
heroku db:push

Quelle: ruby on rails – Tutorial demo_app won’t work on heroku – Stack Overflow

PS: db:push mit taps scheint mit ruby 1.9.3 nicht zu funktionieren, abwarten und Kaffee trinken.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)

  • Related Content by Tag