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.
This commit is contained in:
parent
57cbac891e
commit
2f36d47b1b
6 changed files with 52 additions and 22 deletions
7
sqitch/revert/git-repositories-x-git-repo-header.sql
Normal file
7
sqitch/revert/git-repositories-x-git-repo-header.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:git-repositories-x-git-repo-header from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE git_repositories DROP COLUMN x_git_repo_header;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue