Commit 09bad88b authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#628] new setting volatile_clones

parent 4749dd73
......@@ -823,6 +823,7 @@ sub _upgrade_tables {
$self->_upgrade_table('domains','info','varchar(255) DEFAULT NULL');
$self->_upgrade_table('domains','internal_id','varchar(64) DEFAULT NULL');
$self->_upgrade_table('domains','id_vm','int default null');
$self->_upgrade_table('domains','volatile_clones','int NOT NULL default 0');
$self->_upgrade_table('domains_network','allowed','int not null default 1');
......
......@@ -1920,4 +1920,8 @@ sub internal_id {
return $self->id;
}
sub volatile_clones($self, $value=undef) {
return $self->_data('volatile_clones', $value);
}
1;
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