DacFx,Sqlpackage.exe And DropIndexNotInSource Enhancements
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 460
- Forks
- 29
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 7
Description
It would be great if despite having DropIndexNotInSource set to false drops and recreates auto_created indexes automatically when there's a change to one of the columns part of auto_created index,without intervening manually. We have a situation where we want to retain all auto_created indexes that are not in source and when a column is modified for whatever reason and if there's a auto_created on it dacfx/sqlpackage.exe should handle it without manual intervention or some sort of workaround solution by Customers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how DacFx and SqlPackage.exe handle DropIndexNotInSource, especially when an auto-created index includes a modified column. Reproduce the described schema change while retaining out-of-source auto-created indexes; done means the affected index is dropped and recreated automatically without manual intervention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100