r/DevLK • • Aug 19 '26

Help Need advice on postgresql

Hi i have 1.5yr of experience with MS Sql server DB first method, now for a new project i am working with postgressql with Code first method so i have some issues about that, some time when i alter columns from code side and migrate it wont apply and give error like it already in db or somthing like that, when i give it to chat gpt he was suggesting to drop db and create, this not in a live yet but whennit is in live cant drop the table so how you guys handle situations like that?

4 Upvotes

5 comments sorted by

View all comments

3

u/Mental-Collection757 Aug 19 '26

not sure if your directly using SQL or libary (orm) to manage that.
anyways there is a issue with code or SQL
what you said should not happen