You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
406 B
14 lines
406 B
<?php foreach ($foreignKeys as $column => $fkData): ?> |
|
// drops foreign key for table `<?= $fkData['relatedTable'] ?>` |
|
$this->dropForeignKey( |
|
'<?= $fkData['fk'] ?>', |
|
'<?= $table ?>' |
|
); |
|
|
|
// drops index for column `<?= $column ?>` |
|
$this->dropIndex( |
|
'<?= $fkData['idx'] ?>', |
|
'<?= $table ?>' |
|
); |
|
|
|
<?php endforeach;
|
|
|