• sue445's avatar
    Fix. db:migrate is failed on MySQL 8 · 9618141d
    sue445 authored
    ```
    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 '\_%\_'
    ```
    9618141d
20150509180749_convert_legacy_reference_notes.rb 533 Bytes