You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain schema changes as a deployment step, not a run-time operation #306
The docs describe create_tables=False for production (how-to/deploy-production.md), but don't explain the principle behind it.
Proposal
Add an explanation page, or a section of the production guide, covering:
The principle. A schema change (declaring a table, altering or dropping it, changing a Lookup table's contents) is part of deploying new code. It is applied once, in a controlled step, before processes start running the new code.
Lookup contents count as schema. They change with the code, not at run time.
Why it matters. Run-time declaration is convenient for interactive work, but in a shared database it means whichever process imports new code first changes the schema, unreviewed. A table and the code that fills it should change together, at a known moment.
Activity