A column default applies when an insert omits that column. Supplying an explicit NULL is a separate operation.
Worked example
CREATE TABLE notes(title TEXT DEFAULT 'Draft');
INSERT INTO notes DEFAULT VALUES;
SELECT title FROM notes;Result
[
{
"title": "Draft"
}
]Implementation notes
A default does not retroactively change existing rows. Decide whether a migration also needs to backfill values already stored.
Try it yourself
Insert one row each way and inspect the stored values.
Open the SQL example →Editorial date January 31, 2026 · Published December 6, 2026