Logo white

Administrator / baucenter

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • baucenter
  • console
  • migrations
  • m160414_214745_add_key_to_seo_dynamic...
  • 26.05.16 change image download (git strange error, pay attention for this)
    e72b37ff
    Administrator authored
    2016-05-26 17:02:05 +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');
    }
}