Logo white

Administrator / new_rukzachok-1

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • new_rukzachok-1
  • console
  • migrations
  • m160810_081231_add_tax_option_display...
  • Filter fixing
    aa5c63f4
    Yarik authored
    2016-08-10 14:25:33 +0300  
    Browse Code ยป
m160810_081231_add_tax_option_display.php 312 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 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');
    }
}