| 1 | -- When a repository was deleted, while it can still be restored: its work |
| 2 | -- items' links say so, and the board reads nothing from it. Set on |
| 3 | -- repo.deleted, cleared on repo.restored, and the row goes on repo.purged. |
| 4 | ALTER TABLE repo_workspaces ADD COLUMN deleted_at TEXT; |
| 5 | |
| 6 | -- The job that marks the repositories deleted before this column was |
| 7 | -- there (items/migration.rs `mark_deleted_repos`). It runs once the jobs |
| 8 | -- before it are done, and again changes nothing. |
| 9 | INSERT INTO work_jobs (name) VALUES ('deleted_marks'); |