-
-
Couldn't load subscription status.
- Fork 585
Description
A customer hit a schema merge conflict because their table had dropped a column, an index, and a foreign key. This is a case that Dolt should be able to merge automatically, but for some reason, the merge reported it as a schema conflict and did not allow the user to use the new automatic schema resolution tooling.
Part of the problem here is that we hit the old schema merge guard we had in place before we added support for automatic schema merging. PR #6349 removes that guard, but needs a little more testing to make sure all the cases there are covered by the schema conflict resolution code. Once this is removed, the schema merge code may be able to automatically handle this merge without requiring user intervention.
Next steps:
- complete the work in Removing old schema merge guard #6349 to remove the old schema merge guard
- add a new test for a merge where a column, an index on the column, and an FK for the column are dropped on one side of the merge
- get the test case above to merge automatically without requiring manual schema altering