Merge branch 'blog-hashtag-filtr' into 'master'

транслиты для тнгов



See merge request !47
parents 3ffd81a9 0fa5a43b
<?php
use yii\db\Migration;
use yii\db\Schema;
/**
* Handles adding column to table `post_tag`.
*/
class m160623_085657_add_column_to_post_tag extends Migration
{
public function safeUp()
{
$this->addColumn('posts_tags', 'translit', Schema::TYPE_STRING . '(255) NOT NULL AFTER `name`');
}
public function safeDown()
{
$this->dropColumn('posts_tags', 'translit');
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment