DacFx icon indicating copy to clipboard operation
DacFx copied to clipboard

Deploy a specific schema instead of a full database

Open Johannes-Vink opened this issue 3 years ago • 3 comments

With the rise of Azure SQL Database (which is 1 database), we more often move from multiple databases towards 1 database with multiple schema's.

We have an increased need to deploy specific schema's instead of a full database, for more granular deployments. More controllable impact, less impact on the whole database.

We currently use https://github.com/GoEddie/DeploymentContributorFilterer in combination with version 150 to filter changes specific to a schema. It works to a certain point, unless the compare errors out before that. And unnamed constraints for example need to be named.

It would be great if there is out-of-the-box support for deploying a specific schema, instead of a full database. Hopefully as a side-effect schema compares will also speed up as only specific schema's need to be checked.

Johannes-Vink avatar Jul 20 '21 04:07 Johannes-Vink

This would be helpful to me as well.

czb182 avatar Aug 24 '22 13:08 czb182

It would also be useful to have the option to ignore a schema when deploying via DacServices.Deploy.

DavidWiseman avatar Mar 02 '23 17:03 DavidWiseman

Would be super useful!

croky222 avatar Feb 21 '24 17:02 croky222