CREATE TABLE IF NOT EXISTS repos ( repo_id UUID PRIMARY KEY, repo_hash TEXT NOT NULL, repo_path TEXT NOT NULL, UNIQUE(repo_hash, repo_path) );