Logo white

Anastasia / energyforum

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • energyforum
  • console
  • migrations
  • m181022_120253_speaker_lang_add_colum...
  • add speakers part
    147ec2fb
    alex authored
    2018-10-22 17:25:53 +0300  
    Browse Code ยป
m181022_120253_speaker_lang_add_column_text1.php 368 Bytes
Edit Raw Blame History
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');


    }

}