logoalt Hacker News

grebctoday at 10:22 AM1 replyview on HN

How do you migrate in place data that doesn’t convert between types while maintaining a strict condition like NOT NULL?

This is again a scenario I’ve never run into 20ish years of SQL.


Replies

stanactoday at 10:57 AM

You create a nullable column and then change it to not null. Which wasn't possible in SQLite until recently.

show 1 reply