Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh
16 linesCodeBlameRaw
1-- Staff suspend an account or a workspace, and block email domains from
2-- signing up (src/suspension.rs). Lifting a suspension clears its columns;
3-- every change is in the staff audit log.
4ALTER TABLE users ADD COLUMN suspended_at TEXT;
5ALTER TABLE users ADD COLUMN suspended_reason TEXT;
6ALTER TABLE users ADD COLUMN suspended_by TEXT;
7ALTER TABLE workspaces ADD COLUMN suspended_at TEXT;
8ALTER TABLE workspaces ADD COLUMN suspended_reason TEXT;
9ALTER TABLE workspaces ADD COLUMN suspended_by TEXT;
10
11CREATE TABLE IF NOT EXISTS blocked_domains (
12 domain TEXT PRIMARY KEY,
13 reason TEXT NOT NULL,
14 blocked_by TEXT NOT NULL,
15 created_at TEXT NOT NULL
16);