3 ms·
Another reasonable example is a migration which adds a column ultimately intended to be "not null". The first migration might add the column as nullable, then
by AdieuToLogic 2y ago
Another reasonable example is a migration which adds a column ultimately intended to be "not null". The first migration might add the column as nullable, then subsequent migrations and/or server logic populate the column, culminating with a future migration which alters the constraint to be "not null".