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 line
316B

  1. <?php
  2. /**
  3. * Creates a call for the method `yii\db\Migration::dropTable()`
  4. */
  5. /* @var $table string the name table */
  6. /* @var $foreignKeys array the foreign keys */
  7. echo $this->render('_dropForeignKeys', [
  8. 'table' => $table,
  9. 'foreignKeys' => $foreignKeys,
  10. ]) ?>
  11. $this->dropTable('<?= $table ?>');