Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
09bad88b
Commit
09bad88b
authored
Apr 13, 2018
by
Francesc Guasch
Browse files
[#628] new setting volatile_clones
parent
4749dd73
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
09bad88b
...
...
@@ -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
');
...
...
lib/Ravada/Domain.pm
View file @
09bad88b
...
...
@@ -1920,4 +1920,8 @@ sub internal_id {
return
$self
->
id
;
}
sub
volatile_clones
($self, $value=undef) {
return
$self
->
_data
('
volatile_clones
',
$value
);
}
1
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment