Commit 14d68658 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Merge branch 'mymaster'

parents 0d0f15eb 3218b35f
......@@ -147,6 +147,7 @@ CREATE TABLE `apt_profile_versions` (
`parent_version` int(8) unsigned default NULL,
`status` varchar(32) default NULL,
`rspec` mediumtext,
`script` mediumtext,
PRIMARY KEY (`profileid`,`version`),
UNIQUE KEY `pidname` (`pid_idx`,`name`,`version`),
UNIQUE KEY `uuid` (`uuid`)
......
#
# Add geni-lib script support
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_profile_versions", "script")) {
DBQueryFatal("alter table apt_profile_versions add ".
" `script` mediumtext after rspec");
}
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