Blame view

console/migrations/m180905_082107_customer_change_some_new_fields.php 600 Bytes
5983654b   alex   ****WARNING ==> ...
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
27
28
  <?php
  
  use yii\db\Migration;
  
  /**
   * Class m180905_082107_customer_change_some_new_fields
   */
  class m180905_082107_customer_change_some_new_fields extends Migration
  {
  
  
  
  
      public function up()
      {
  		$this->alterColumn('customer','passport_place',$this->string(255));
  		$this->alterColumn('customer','special_meal',$this->string(255));
  		$this->alterColumn('customer','passport_date',$this->string(255));
  		$this->alterColumn('customer','passport_valid',$this->string(255));
  		$this->alterColumn('customer','passport_number',$this->string(255));
      }
  
      public function down()
      {
  
      }
  
  }