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
149 B
PL/PgSQL
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;
|