0034_storage_enforcement.sql8 lines · main
| 1 | -- 0034_storage_enforcement — Sprint 4 Phase 4 (the deferred "block" lever). |
| 2 | -- |
| 3 | -- Per-project storage enforcement mode. Default 'flag' = current behaviour |
| 4 | -- (surface over-limit in admin, never block a customer). 'block' = reject new |
| 5 | -- writes while the project is over its effective cap. Off by default; an admin |
| 6 | -- opts a specific project in. DoltGres-safe: plain ADD COLUMN text + default. |
| 7 | |
| 8 | ALTER TABLE "projects" ADD COLUMN "storage_enforcement" text DEFAULT 'flag' NOT NULL; |