I'm sure this should be simple but I cant work it out. Project setup Visual Studio database project with references to master, msdb and another dacpac. It is the additional dacpac that is of interest.
For various reasons I will not go into here, I cannot make changes to the database represented by the dacpac.
Scenario There is a table in here I need to perform an alter on, it is missing a couple of required audit columns. I don't know how they are missing it must have been an oversite. So what I want to be able to do is correct this in my project by essentially issuing an alter table and add these columns. I don't appear to be able to do this as a pre-deployment script as anything that is then dependant on this throws compile time errors SQL71501 unresolved references. I don't appear to be able to add it as a table and have it reapply the migration as this results in an SQL71508 error.
Any suggestions would be greatly appreciated.
I would prefer to avoid adding an additional table to perform this extension.