CREATE TABLE IF NOT EXISTS repo_license (
    repo UUID PRIMARY KEY REFERENCES repo(id),
    spdx_id TEXT,
    name TEXT NOT NULL,
    url TEXT,
    detected_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
