LoginSignup
2
2

More than 5 years have passed since last update.

RDSを使ってrailsでmigrationしたら文字化けした

Posted at

show create table テーブル名 \G
で確認すると

DEFAULT CHARSET=latin1

になっていた

その場合

mysql>alter database DB名 default character set utf8;

でやったあとmigrateすればOK

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2