I am pretty new to the NestJS/typeorm system. So while working, I created an Episode
entity and added some fields. Then I updated the entity to remove and update some fields. But after running the application, it still has the deleted columns ( checked it on pgAdmin ). The migrations are not updated to delete the columns. Is there any way to do it?
TypeORM kept the column definitions in a cache somehow and did not allow them to be deleted. This can be fixed by running rm -rf dist
(or the Windows equivalent) and then rebuilding the project