I am fairly new to Heroku. I had to transfer the data to someone, however, when I tried it said that I could not when I was using a paid resource. So, I deleted the web dynos and request the transfer to someone. After the transfer, the other person immediately bought the web dynos. I thought that it would be okay to delete it for a couple of minutes, but it seems the website didn't work saying that it had no web dynos running. So I ran the command heroku ps:scale web=1. Now, it is getting We're sorry, but something went wrong. I ran heroku log --tail and it is saying that ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist . I fixed the problem with ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist. I fixed it by db:migrate however, I lost all my data. Is there anyone to retrieve the data from the last web dynos?
Aucun commentaire:
Enregistrer un commentaire