ADD CONSTRAINT UNIQUE runs in milliseconds and locks nothing that matters, then aborts on a duplicate email. Fixtures hide it and so does uniform random data. Here is the data shape that exposes it.
0 comments
No comments yet.
Related stories
- Is your Postgres migration safe or not safe?safenotsafe.devHacker News · 116 points · about 2 months ago
- DEV Community · 2 points · 2 months ago
- DEV Community · 7 points · about 2 months ago
- Hacker News · 20 points · about 2 months ago
- Lobsters · 1 points · about 3 years ago
- Hacker News · 2 points · about 2 months ago