时间:2021-07-01 10:21:17 帮助过:45人阅读
ALTER TABLE `[table]` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin, MODIFY [column] VARCHAR(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin
然后执行迁移
ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value:
标签:rails 测试 mysq color utf8mb4 方法 java 文件 table