Commit fd5ea27d authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(install): remove old ports info

Some may be duplicated and the unique index installation
will fail
parent 0481e3a1
......@@ -1388,7 +1388,7 @@ sub _add_indexes_generic($self) {
$self->_clean_index_conflicts($table, $name);
print "+" if $FIRST_TIME_RUN;
if ($table eq 'domain_displays' && $name eq 'id_vm_port') {
if ($table eq 'domain_displays' && $name =~ /port/) {
my $sth_clean=$CONNECTOR->dbh->prepare(
"UPDATE domain_displays set port=NULL"
);
......
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