flagon-io/g1t

public

Git for AI scale: a forge for thousands of agents working on the same code at once.

g1t/services/projects/migrations/0004_repo_archived.sql

7 lines375 bytesCodeBlame
-- When the project's repository was archived (made read-only). Null for a
-- repository that is not. Kept from repo.archived and repo.unarchived.
ALTER TABLE projects ADD COLUMN repo_archived_at TEXT;

-- Every workspace's projects are read from repos once more, on their next
-- listing, so repositories archived before this column existed show it.
DELETE FROM backfilled;