Skip to content

Conversation

@bplunkett-stripe
Copy link
Collaborator

@bplunkett-stripe bplunkett-stripe commented Dec 30, 2025

Description

This is a continuation of #254 tweaked to be slightly more correct.

Thank you @catatsuy for the contribution!

Motivation

Safer migrations

Testing

Via unit tests

Adding a new NOT NULL column usually needs a backfill.
This change adds a hazard and shows a suggested online migration path
(add nullable -> backfill -> set NOT NULL).
@bplunkett-stripe bplunkett-stripe force-pushed the bplunkett/new-column-requires-backfill branch 3 times, most recently from df2bdee to 8bacee2 Compare December 30, 2025 22:36
@bplunkett-stripe bplunkett-stripe force-pushed the bplunkett/new-column-requires-backfill branch from 8bacee2 to c3ce8aa Compare December 30, 2025 22:54
@bplunkett-stripe bplunkett-stripe merged commit 4c1b608 into main Dec 30, 2025
11 checks passed
@bplunkett-stripe bplunkett-stripe deleted the bplunkett/new-column-requires-backfill branch December 30, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants