Skip to content

feat: generate sql to reconciliate database difference #137

@Bencaddyro

Description

@Bencaddyro

Context: i had a split brain during a migration, that mean i get 2 databases containing mostly the same data but each one get new operations. My goal is to reconciliate the data, sadly your tool can only tell if there is difference but not the difference itself.

Solution: I plan to run a diff between a snapshot that happens just before the split and the base A, and apply this diff on base B (and manually fixing if the same data is altered on both base A and B).

Feat: I have started a patch to print value of differences and generate a sql file that contain the diff, this will introduce a new option on the cli but will not change the default behavior.

Are your interested on my patch ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions