Commit dc0a9072 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add access key field to profiles that are repo-based, for use in the

push hook URL.
parent b4262d21
......@@ -416,6 +416,7 @@ CREATE TABLE `apt_profile_versions` (
`repourl` tinytext,
`reponame` varchar(40) default NULL,
`repohash` varchar(64) default NULL,
`repokey` varchar(64) default NULL,
`rspec` mediumtext,
`script` mediumtext,
`paramdefs` mediumtext,
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_profile_versions", "repokey")) {
DBQueryFatal("alter table apt_profile_versions " .
" add `repokey` varchar(64) default NULL after repohash");
}
return 0;
}
# Local Variables:
# mode:perl
# End:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment