I am running my postgres database and a fastapi app inside a docker container. The database has data in it. If I try to modify the table and run alembic revision and upgrade, sqlalchemy still gives undefined column error.
I have done all the basic things, added the correct database url to alembic.ini. Changed my .env file. gave the right metadata.
I tried to run the same using local postgres in my local repository and it works. But doesnt work in production inside docker. Can someone please tell me where I am going wrong?