CREATE TABLE IF NOT EXISTS repo_lfs_object (
    repo UUID NOT NULL REFERENCES repo(id),
    oid TEXT NOT NULL,
    size_bytes BIGINT NOT NULL DEFAULT 0,
    storage_key TEXT NOT NULL,
    created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
    PRIMARY KEY (repo, oid)
);
