mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix #1778 support multi-column unique indexes using legacy syntax
This commit is contained in:
parent
7367ad2645
commit
f7146a4791
3 changed files with 7 additions and 4 deletions
|
|
@ -123,7 +123,7 @@ class DBTableParser extends BaseParser
|
|||
{
|
||||
$table->indexes[$index_name] = new DBTable\Index;
|
||||
$table->indexes[$index_name]->name = $index_name;
|
||||
$table->indexes[$index_name]->is_unique = true;
|
||||
$table->indexes[$index_name]->type = 'UNIQUE';
|
||||
}
|
||||
$table->indexes[$index_name]->columns[$column->name] = 0;
|
||||
$column->is_indexed = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue