Logo white

Alex Savenko / proektant

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • proektant
  • console
  • migrations
  • m160222_160058_add_user_info_email.php
  • init commit
    14a09168
    Alex Savenko authored
    2017-02-02 16:39:23 +0200  
    Browse Code ยป
m160222_160058_add_user_info_email.php 310 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

use yii\db\Migration;

class m160222_160058_add_user_info_email extends Migration
{
    public function up()
    {
        $this->addColumn('{{%user_info}}', 'email', $this->string());
    }

    public function down()
    {
        $this->dropColumn('{{%user_info}}', 'email');
    }
}