Skip to content

Debugging synchronization status #264

Answered by tantaman
matmut7 asked this question in Q&A
Discussion options

You must be logged in to vote

What about

SELECT * FROM expenses__crsql_clock, SELECT * FROM expenses and SELECT * FROM crsql_changes on the server db?

I see your primary keys look to be auto increment. That's probably not going to work as many devices will assign the same key to rows that are actually not intended to be the same.

The primary key should be some sort of UUID (e.g., nanoid) or something related to the identity of the row.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@tantaman
Comment options

@matmut7
Comment options

@matmut7
Comment options

@tantaman
Comment options

Answer selected by matmut7
@matmut7
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants