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.

15 lines
406B

  1. <?php foreach ($foreignKeys as $column => $fkData): ?>
  2. // drops foreign key for table `<?= $fkData['relatedTable'] ?>`
  3. $this->dropForeignKey(
  4. '<?= $fkData['fk'] ?>',
  5. '<?= $table ?>'
  6. );
  7. // drops index for column `<?= $column ?>`
  8. $this->dropIndex(
  9. '<?= $fkData['idx'] ?>',
  10. '<?= $table ?>'
  11. );
  12. <?php endforeach;