Blame view

console/migrations/m170503_134226_add_mask_column_to_page.php 341 Bytes
9870b2b4   Alexey Boroda   -In process
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
      
      use yii\db\Migration;
      
      class m170503_134226_add_mask_column_to_page extends Migration
      {
          public function up()
          {
              $this->addColumn('page', 'mask', $this->integer());
          }
          
          public function down()
          {
              $this->dropColumn('page', 'mask');
          }
      }