
CREATE TABLE document_index IF NOT EXISTS (
    domain TEXT NOT NULL,
    path TEXT NOT NULL,
    version DATE NOT NULL,
    PRIMARY KEY (domain, path, version)
);
