Blame view

console/migrations/m181022_120253_speaker_lang_add_column_text1.php 368 Bytes
147ec2fb   alex   add speakers part
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 m181022_120253_speaker_lang_add_column_text1
   */
  class m181022_120253_speaker_lang_add_column_text1 extends Migration
  {
      public function up()
      {
  		$this->addColumn(
  			'speaker_lang',
  			'text1',
  			$this->text()
  		);
  
      }
  
      public function down()
      {
  
      	$this->dropColumn('speaker_lang','text1');
  
  
      }
  
  }