Logo white

Anastasia / energyforum

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • energyforum
  • console
  • migrations
  • m180912_090212_customer_add_update_at...
  • Добавлен експорт в excel
    8c54b055
    alex authored
    2018-09-13 11:38:38 +0300  
    Browse Code »
m180912_090212_customer_add_update_at_column.php 365 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php

use yii\db\Migration;

/**
 * Class m180912_090212_customer_add_update_at_column
 */
class m180912_090212_customer_add_update_at_column extends Migration
{
    public function up()
    {
		$this->addColumn('customer',
			'created_at',
			$this->integer());
    }

    public function down()
    {
        $this->dropColumn('customer','created_at');
    }

}