Custom Merge Hooks
timsehn opened this issue · comments
Tim Sehn commented
A user thought it would be cool to be able to define custom stored procedures that trigger on different merge stages.
Custom stored procedures could be run at various stages of the merge like:
dolt_one_merge()
dolt_conflict_detected()
dolt_schema_conflict_detected()
dolt_data_conflict_detected()
dolt_conflict_resolved()
dolt_schema_conflict_resolved()
dolt_data_conflict_resolved()
dolt_merge_committed()
dolt_merge_aborted()
If a user defines logic in these procedures, that logic would be executed at the appropriate stage.