Hi, all.

I just deployed my app to heroku but it is not online yet. When I run the command heroku local, all is fine. I am sure it is a database conversion error.

Following the codecademy guide, there is this paragraph:

If you have any SQLAlchemy models in your project you’ll need to create them on the new PostgreSQL database. Run the following commands:

heroku python run >>> from app import db>>> db.create_all()

Where should I type the command heroku python run?
there is no property python inside the heroku CLI, reason why, if I follow the guide, I get an error.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.