g1t/services/projects/migrations/0004_repo_archived.sql
| 1 | -- When the project's repository was archived (made read-only). Null for a |
| 2 | -- repository that is not. Kept from repo.archived and repo.unarchived. |
| 3 | ALTER TABLE projects ADD COLUMN repo_archived_at TEXT; |
| 4 | |
| 5 | -- Every workspace's projects are read from repos once more, on their next |
| 6 | -- listing, so repositories archived before this column existed show it. |
| 7 | DELETE FROM backfilled; |