mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
use correct columns for dropping index (does not matter if they contain length or not)
This commit is contained in:
parent
81fe3b0472
commit
85477c18a5
@ -1426,7 +1426,7 @@ class schema_proc
|
||||
// for PostgreSQL we dont use length-limited indexes --> nothing to do
|
||||
if ($this->m_odb->Type == 'pgsql') continue;
|
||||
// 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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user