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

7 lines453 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member1-- 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;