Logo white

Alex Savenko / linija-svitla

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • linija-svitla
  • console
  • migrations
  • m160414_214745_add_key_to_seo_dynamic...
  • first commit
    4253cbec
    root authored
    2016-08-11 16:17:59 +0300  
    Browse Code ยป
m160414_214745_add_key_to_seo_dynamic.php 429 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
<?php

use yii\db\Migration;

/**
 * Handles adding the columns `key`
 * for table `seo_dynamic`.
 */
class m160414_214745_add_key_to_seo_dynamic extends Migration
{
    /**
     * @inheritdoc
     */
    public function up()
    {
        $this->addColumn('seo_dynamic', 'key', $this->string());
    }

    /**
     * @inheritdoc
     */
    public function down()
    {
        $this->dropColumn('seo_dynamic', 'key');
    }
}