mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
To associate a set of lint checkers with a specific revision. While there is the association through the lint warnings, that only works for checkers where there are lint warnings for that revision. Therefore, to allow finding all the checkers for a specific revision, also associate them directly with the revision.
12 lines
310 B
PL/PgSQL
12 lines
310 B
PL/PgSQL
-- Deploy guix-data-service:guix_revision_lint_checkers to pg
|
|
|
|
BEGIN;
|
|
|
|
CREATE TABLE guix_revision_lint_checkers (
|
|
lint_checker_id integer NOT NULL REFERENCES lint_checkers (id),
|
|
guix_revision_id integer NOT NULL REFERENCES guix_revisions (id),
|
|
PRIMARY KEY (lint_checker_id, guix_revision_id)
|
|
);
|
|
|
|
COMMIT;
|