A Postgres migration adding a unique constraint passed all tests despite being broken—it failed in production on duplicate emails. The issue arose because test fixtures used unrealistic data (manually written unique emails) and random generators produced independent values, neither matching real customer data where emails derive from human names that naturally collide.