MySQL Workbenchを利用して、データベースのスキーマ差分を取得する。 IT by NHM - 2021-02-252021-02-25 File -> New Model Database -> Synchronize With Any Source -> Continue Select Databases for Updates -> ALTER Script File (間違えて実行しないように) Source Database Target Database Select the Shemas to be Synchronized (元) Fetch Objects Save to File(Execute押さない)
Macにbundle updateでmysql2がインストールできない IT by NHM - 2021-02-082021-02-08 下記のようなエラーが出る。sslライブラリが見つからないらしい ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [mysql2.bundle] Error 1 make failed, exit code 2 opensslを利用するように指定 bundle config --global build.mysql2 --with-opt-dir="$(brew --prefix openssl)"