Fixed tag_subs.tag_query charset.

This commit is contained in:
Parziphal 2014-02-20 15:46:38 -05:00
parent 5a5973ff09
commit dde2121e8d

View File

@ -0,0 +1,8 @@
<?php
class ChangeTagSubsTagQueryCharset extends Rails\ActiveRecord\Migration\Base
{
public function up()
{
$this->execute("ALTER TABLE `tag_subscriptions` CHANGE `tag_query` `tag_query` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL");
}
}