ActiveRecord::StatementInvalid: Mysql2::Error: Unk

2019-08-23 13:10发布

I'm trying to run unit and integrations test using TeamCity.

Already configured a step which runs rake test (that include by default test load, purge etc). But all my unit tests fails with this:

ActiveRecord::StatementInvalid: Mysql2::Error: Unknown column 'bid_for_referred_user' in 'field list': INSERT INTOgeneral_settings` ...

I don't know what's going on, because i set up this in another server with another version of MySQL (5.5) and most of tests passed. MySQL version is related? Here i'm using 5.0.95 on CentOS 5.7. Or just I forgot to configure something in TeamCiy?

0条回答
登录 后发表回答