News for hackers. Stuff that matters.
Re:Just Write a Test for It by kobzol on Sunday March 30, 2025 @09:14AM (#43523918)
If I only insert data into the DB once, I could miss important states. Like, I could add non-NULL data to a NOT NULL column, then make it NULL, and then make it NOT NULL again. If I don't insert NULL into the column in-between the last two migrations, I won't trigger the issue.

There are no comments on this comment yet.