mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Bug 988134: Drop the unique constraint on client_state. #123

Closed rfk closed 6 years ago

rfk commented 6 years ago

This basically ports the changes from Bug 988134 over to the custom node-assignment backend used in this repo.

I didn't bother with creating a formal db migration, because the code should all still work for anyone with an existing install. But the constraint is unnecessary and removing it will fix https://github.com/mozilla-services/syncserver/issues/121 and similar issues.

@timakro any chance you could try this out and let me know if it works for you?

timakro commented 6 years ago

This solves my issue. I created a new database and the tables where created successfully this time. Thanks!

rfk commented 6 years ago

Great! 👍