Blame view

console/migrations/m160810_081231_add_tax_option_display.php 312 Bytes
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
  
  use yii\db\Migration;
  
  class m160810_081231_add_tax_option_display extends Migration
  {
      public function up()
      {
          $this->addColumn('tax_group', 'display', $this->boolean()->defaultValue(TRUE));
      }
  
      public function down()
      {
          $this->dropColumn('tax_group', 'display');
      }
  }