-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Conflict management - take both client and server changes? #757
Comments
hello @spj-uk |
Thanks for replying. To confirm I want both rows in the synchronised database rather than to merge the records. i.e. Client ID 2 would have to become a new record with ID as it's a primary key. Is this possible? |
DMS will not be able to do that. |
The client must ensure unique ids. That's why DMS recommends using guids. It is possible to use sequential integer identifiers, but you will need an algorithm to generate identifiers that ensures uniqueness across devices even when disconnected. |
Take a look here : #590 |
Is it possible when resolving conflicts to keep both items e.g.
Server: ID 2 Name "Bob"
Client: ID 2 Name "Jo"
Presumably ID would need to be changed / incremented and then inserted somehow.
The text was updated successfully, but these errors were encountered: