GoEddie / DeploymentContributorFilterer

MIT License
70 stars 35 forks source link

Fix TableColumnFilterRule (KeepTableColumns) #21

Closed PrefixAM closed 4 years ago

PrefixAM commented 4 years ago

There is a bug in TableColumnFilterRule.cs ( SqlPackageFilter=KeepTableColumns(Employees) ). When generated change script starts from PredicateSetStatement (i.e. SET ANSI_NULLS ) instead of AlterTableDropTableElementStatement, the filter is ignored. As a result, the columns getting dropped when the expected behavior is that they will remain.