Blame view

console/migrations/m180912_090212_customer_add_update_at_column.php 365 Bytes
10899280   alex   customer add crea...
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');
      }
  
  }