This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\db\Migration; | |
use yii\db\Schema; | |
class m151111_122541_upgrade_user_300_to_400 extends Migration | |
{ | |
public function safeUp() | |
{ | |
$this->renameColumn("{{%role}}", "create_time", "created_at"); |