treebeard024
treebeard024

Reputation: 127

Heroku Deploy failed due to Postgresql Error

I'm having a problem with my Archives built on Ruby on Rails when I deploy to Heroku. Everything is working fine on my Local servers however when I run the app on Heroku there are problems when i load the page.

The Heroku logs showed this

PG::UndefinedFunction: ERROR:  function strftime(unknown, timestamp without time zone) does not exist

Upvotes: 0

Views: 85

Answers (1)

Aleksandr Larionov
Aleksandr Larionov

Reputation: 126

maybe you forgot to run migration on heroku. just do heroku run rake db:migrate

Upvotes: 1

Related Questions