mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-06 14:19:23 +08:00
15 lines
314 B
PHP
15 lines
314 B
PHP
<?php
|
|
|
|
/**
|
|
* Creates a call for the method `yii\db\Migration::dropTable()`.
|
|
*
|
|
* @var string $table the name table
|
|
* @var array $foreignKeys the foreign keys
|
|
*/
|
|
|
|
echo $this->render('_dropForeignKeys', [
|
|
'table' => $table,
|
|
'foreignKeys' => $foreignKeys,
|
|
]) ?>
|
|
$this->dropTable('<?= $table ?>');
|