i\'m sorry. i wouldn\'t post this if i weren\'t out of ideas. i\'ve tried everything in the forums, but to no avail.
so i have 2 tables. both are empty at the beginn
This error is mostly because of updating multiple changes to database without reloading updated data between requests and when you try to save(Update) stacked changes this error may occur.
And here there is a good example in details.