Commit 1f4cb5a6 authored by Leigh B Stoller's avatar Leigh B Stoller

Add no_image_versions flag to apt_profiles.

parent eaf135e5
......@@ -417,6 +417,7 @@ CREATE TABLE `apt_profiles` (
`shared` tinyint(1) NOT NULL default '0',
`listed` tinyint(1) NOT NULL default '0',
`topdog` tinyint(1) NOT NULL default '0',
`no_image_versions tinyint(1) NOT NULL default '0',
`disabled` tinyint(1) NOT NULL default '0',
`locked` datetime default NULL,
`locker_pid` int(11) default '0',
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_profiles", "no_image_versions")) {
DBQueryFatal("alter table apt_profiles " .
" add `no_image_versions` tinyint(1) NOT NULL default '0' ".
" after topdog");
}
return 0;
}
# Local Variables:
# mode:perl
# End:
Markdown is supported
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