Repository navigation
My change needs a new database column. What must the pull request include? #600
|
I am adding a field to a model in |
Replies: 1 comment
|
State: main at Five things besides the model change:
Each deployment's operator applies the revision with More: https://github.com/lumenpearson/lessons/blob/main/docs/deploy.md#creating-and-updating-the-schema and https://github.com/lumenpearson/lessons/blob/main/docs/deploy.md#a-migration-goes-before-the-deploy-not-after |
State: main at
4c93edb4, 1 November 2026. The head revision is0019. Since #463 closed (#539), CONTRIBUTING.md and CODEOWNERS name it too, andtest_schema_versionreads them;EXPECTED_REVISIONinserver/app/db.pyis the source.Five things besides the model change:
server/migrations/versions/, numbered after the head:0020_<name>.pywithdown_revision = "0019".create_allafter0001.create_allwould build it.0001has already built today's schema, so a secondADD COLUMNis a hard error. Ask the inspector before you add anything.server_default…