forked from extern/egroupware
use correct columns for dropping index (does not matter if they contain length or not)
This commit is contained in:
parent
c1d0e9064e
commit
abc319b390
@ -1426,7 +1426,7 @@ class schema_proc
|
|||||||
// for PostgreSQL we dont use length-limited indexes --> nothing to do
|
// for PostgreSQL we dont use length-limited indexes --> nothing to do
|
||||||
if ($this->m_odb->Type == 'pgsql') continue;
|
if ($this->m_odb->Type == 'pgsql') continue;
|
||||||
// for MySQL we drop current index and create it with correct length
|
// for MySQL we drop current index and create it with correct length
|
||||||
$this->DropIndex($table, $definition);
|
$this->DropIndex($table, $columns);
|
||||||
}
|
}
|
||||||
$this->CreateIndex($table, $columns, $type == 'uc');
|
$this->CreateIndex($table, $columns, $type == 'uc');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user