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
f40bb513
Commit
f40bb513
authored
Jul 08, 2019
by
Francesc Guasch
Browse files
New release 0.4.4
parent
44d70584
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
f40bb513
...
...
@@ -3,7 +3,7 @@ package Ravada;
use
warnings
;
use
strict
;
our
$VERSION
=
'
0.4.
3
';
our
$VERSION
=
'
0.4.
4
';
use
Carp
qw(carp croak)
;
use
Data::
Dumper
;
...
...
@@ -1093,7 +1093,7 @@ sub _upgrade_table {
&&
$new_size
&&
$new_size
!=
$row
->
{
COLUMN_SIZE
})
{
warn
"
INFO: changing
$field
$row
->{COLUMN_SIZE} to
$new_size
in
$table
\n
"
if
$
0
!~
/\.t$/
;
warn
"
INFO: changing
$field
$row
->{COLUMN_SIZE} to
$new_size
in
$table
\n
$definition
\n
"
if
$
0
!~
/\.t$/
;
$dbh
->
do
("
alter table
$table
change
$field
$field
$definition
");
return
;
}
...
...
@@ -1248,7 +1248,7 @@ sub _upgrade_tables {
$self
->
_upgrade_table
('
domains
','
autostart
','
int NOT NULL DEFAULT 0
');
$self
->
_upgrade_table
('
domains
','
status
','
varchar(32) DEFAULT "shutdown"
');
$self
->
_upgrade_table
('
domains
','
display
','
varchar(250) DEFAULT NULL
');
$self
->
_upgrade_table
('
domains
','
display
','
text
');
$self
->
_upgrade_table
('
domains
','
display_file
','
text DEFAULT NULL
');
$self
->
_upgrade_table
('
domains
','
info
','
varchar(255) DEFAULT NULL
');
$self
->
_upgrade_table
('
domains
','
internal_id
','
varchar(64) DEFAULT NULL
');
...
...
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