Blame view

migrations/m170607_100409_customer_add_social_id_column.php 372 Bytes
f40d11e3   Yarik   Social auth + vie...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
      
      use yii\db\Migration;
      
      class m170607_100409_customer_add_social_id_column extends Migration
      {
          public function safeUp()
          {
              $this->addColumn('customer', 'social_id', $this->string());
          }
          
          public function safeDown()
          {
              $this->dropColumn('customer', 'social_id');
          }
      }