Fixed tag_subs.tag_query charset.
This commit is contained in:
parent
5a5973ff09
commit
dde2121e8d
8
db/migrate/20140220140215_change_tag_subs_tag_query_charset.php
Executable file
8
db/migrate/20140220140215_change_tag_subs_tag_query_charset.php
Executable 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");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user