g1t/services/deployments/migrations/0009_workspace_deleted.sql

7 lines453 bytesCodeBlame
1-- When the project's workspace was deleted (restorable by g1t's staff for a
2-- while). Its apps are paused, not taken down, and it builds nothing; the
3-- sweep leaves its apps as they are, though the deletion ended its plan.
4-- A restore clears it and resumes the apps as the workspace's limit allows;
5-- a purge takes everything down. Null otherwise. See src/index.ts
6-- `workspaceDeleting`.
7ALTER TABLE settings ADD COLUMN workspace_deleted_at TEXT;