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.
7 lines
154 B
PL/PgSQL
7 lines
154 B
PL/PgSQL
-- Deploy guix-data-service:git-repositories-x-git-repo-header to pg
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE git_repositories ADD COLUMN x_git_repo_header varchar;
|
|
|
|
COMMIT;
|