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 · 5 days ago
- DEV Community · 2 points · 12 days ago
- DEV Community · 7 points · 7 days ago
- Hacker News · 20 points · 4 days ago
- Hacker News · 2 points · 3 days ago
- DEV Community · 7 points · 5 days ago