How to use "onConflictDoUpdate" with composite key?
If a user sends a friend request while one exists it should update to pending. But the "friends" table is using a composite key.
Table looks like this
query looks like this
Do I need to use a primary (non-composite) key in the friends table?
Table looks like this
query looks like this
Do I need to use a primary (non-composite) key in the friends table?