Idempotency is an annoying word that makes people think you are an asshole when you use it, at least if they aren't exactly sure what it means.
B...
For further actions, you may consider blocking this person and/or reporting abuse
We usually do upserts and hardcode the primary key, since there is always a unique constraint on it:
This has some advantages:
The only downside is that one has to manage the primary keys a bit.
This is awesome. Exactly the type of feedback that I was hoping to get.
The other piece that it seems you are doing differently than me is non-sequential ids. Probably a good idea in any case.