Reputation: 1455
I want to ignore changes to a specific schema in the release pipeline in DevOps. I am trying to find the Sqlpackage.exe command for it. I checked the document here: https://learn.microsoft.com/en-us/sql/tools/sqlpackage/sqlpackage-publish?view=sql-server-ver15 but couldn't find it. I am using DACPAC Deployment as shown below:
Any help on this please?
Upvotes: 5
Views: 2279
Reputation: 16018
SqlPackage can not ignore schemas. However, you can try an extension for SqlPackage: https://github.com/GoEddie/DeploymentContributorFilterer
It adds additional options for SqlPackage:
/p:AdditionalDeploymentContributors=AgileSqlClub.DeploymentFilterContributor /p:AdditionalDeploymentContributorArguments="SqlPackageFilter=IgnoreSchema(BLAH)"
Upvotes: 5