The migration flag of the protected layer is a setting any session can set
highopenThe guard of the protected-access layer lets a session alter or drop a table of the tables' schema when `lifecycle.migrating` is `on`, and any session can set that. A project can now seal the flag with `migratingSecret`; what is left is that sealing is not the default, because a default secret would be one everybody knows. Refuse `enforced` without one.
| Library | Data |
| Severity | high |
| Priority | P2 |
| Status | open |
| Size | xs |
| Goals | G1, G2 |
| Raised | 2026-11-19 |