CREATE TABLE IF NOT EXISTS repository_settings ( repository TEXT NOT NULL, name TEXT NOT NULL, value TEXT NOT NULL ); CREATE UNIQUE INDEX unique_per_repository ON repository_settings (repository, name);