Commit Graph

1 Commits

Author SHA1 Message Date
sue445 9618141dc7 Fix. db:migrate is failed on MySQL 8
```
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system = true AND note LIKE '\_%\_'' at line 1: UPDATE notes SET note = trim(both '_' from note) WHERE system = true AND note LIKE '\_%\_'
```
2019-05-16 18:58:56 +09:00