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