I have a database project for a web application and am currently set to crash if data loss can occur during deployment. I feel safer. However, I ran into a problem. I really need to deploy the changes in some cases, when I'm in order with a possible data loss, i.e. Shortens the lengths of the columns where nothing will actually be deleted, but the system thinks it will.
I have 2 questions.
Firstly, this: in addition to turning the catch on or off, everything goes or not, is there a way to have more detailed control over this process, i.e. Specify columns that can be omitted or reduced? Is there a way to get more granular control over this process?
Secondly, how do you guys deal with these situations? Initially, I was hoping that adding a pre-deploy script to remove the columns would be sufficient, however it seems like they also fall in drops, etc. In these files.
source share