Blame view

console/migrations/m160414_214746_add_level_to_tax_group.php 430 Bytes
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <?php
  
  use yii\db\Migration;
  
  /**
   * Handles adding the columns `key`
   * for table `seo_dynamic`.
   */
  class m160414_214746_add_level_to_tax_group extends Migration
  {
      /**
       * @inheritdoc
       */
      public function up()
      {
          $this->addColumn('tax_group', 'level', $this->integer());
      }
  
      /**
       * @inheritdoc
       */
      public function down()
      {
          $this->dropColumn('tax_group', 'level');
      }
  }