guix-data-service/sqitch/revert/git-repositories-x-git-repo-header.sql
Christopher Baines 2f36d47b1b Don't hardcode the expected x-git-repo header value
Rather than expecting it always to be "guix", store the expected value in the
database, and use the value of the header to find the relevant repository.
2020-01-11 17:25:08 +00:00

7 lines
149 B
PL/PgSQL

-- Revert guix-data-service:git-repositories-x-git-repo-header from pg
BEGIN;
ALTER TABLE git_repositories DROP COLUMN x_git_repo_header;
COMMIT;