My Flask app(postgresql db) is working fine in local. I pushed my code to server and there I tried to run.py db migrate, it throws me these errors Traceback (most recent call last)
Solution 1:
Fixed it with a `sudo.
sudo run.py db migrate
I know it is weird but yes, sudo did the trick
Share
Post a Comment
for "Sqlalchemy.exc.operationalerror: (psycopg2.operationalerror)"
Post a Comment for "Sqlalchemy.exc.operationalerror: (psycopg2.operationalerror)"