Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional column for schema_version in crsql_changes #378

Open
tantaman opened this issue Oct 2, 2023 · 1 comment
Open

Add optional column for schema_version in crsql_changes #378

tantaman opened this issue Oct 2, 2023 · 1 comment

Comments

@tantaman
Copy link
Collaborator

tantaman commented Oct 2, 2023

This will allow us to ensure, at the library level, that incompatible schemas are not synced.

@Azarattum
Copy link
Contributor

Is this supposed to be an integer that is incremented with every migration or some kind of hash from the actual table structure? I think the later would be more robust, since it would prevent an accidental sync between completely different DBs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants