PRIMARY KEY issue with creating tables in Rails using rake db:migrate command with mysql

后端 未结 5 1239
余生分开走
余生分开走 2020-12-31 00:38

My version of rails is 4.0.0, my version of mysql is Ver 14.14 Distrib 5.7.9, for Win64 (x86_64). I am operating of an older version of rails as I was getting some clashes w

5条回答
  •  耶瑟儿~
    2020-12-31 00:57

    I solved this problem with a Rails app on JRuby I'm working on by upgrading the mysql-adapter.

    I was using the gem activerecord-jdbcmysql-adapter v1.3.14 and upgraded to v1.3.21

    Check your jdbc adapter version before monkey patching a solution.

提交回复
热议问题