Getting ChatGPT to Write Accurate Database Seeding Scripts Without Constraint Violations
ChatGPT-generated seed scripts look clean until they hit your database and explode with foreign key errors, duplicate PKs, or null constraint failures. Here's how to prompt your way to seed data that actually inserts.