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.

11 lines
235B

  1. <?php
  2. echo $this->render('_dropForeignKeys', [
  3. 'table' => $table,
  4. 'foreignKeys' => $foreignKeys,
  5. ]);
  6. foreach ($fields as $field): ?>
  7. $this->dropColumn('<?= $table ?>', '<?= $field['property'] ?>');
  8. <?php endforeach;