Commit d3afb89a authored by Leigh Stoller's avatar Leigh Stoller

Add paramdefs to apt_instances, which will be used to hold the paramdefs

block for repo based profiles while it is running. This is handy for
displaying the current bindings in an intelligent manner. Note that
unlike a regular profile, we generate the paramdefs on the fly after we
check out the source code from whatever branch/tag the user has selected
to instantiate.
parent 4d955998
......@@ -503,6 +503,7 @@ CREATE TABLE `apt_instances` (
`rspec` mediumtext,
`script` mediumtext,
`params` mediumtext,
`paramdefs` mediumtext,
`manifest` mediumtext,
`openstack_utilization` mediumtext,
PRIMARY KEY (`uuid`)
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "paramdefs")) {
DBQueryFatal("alter table apt_instances add ".
" `paramdefs` mediumtext after params");
}
return 0;
}
1;
# 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