Ensure MySQL CI limits DB migrations occur after the fields have been created
If you attempted to migrate the current DB schema from a certain point with MySQL, you might see something like:
Mysql2::Error: Table 'gitlabhq_development.ci_commits' doesn't exist: SHOW FULL FIELDS FROM `ci_commits`/home/niranjana/.rvm/gems/ruby-2.2.1/gems/rack-mini-profiler-0.9.7/lib/patches/db/mysql2.rb:20:in `query'
limits_to_mysql.rb
is used in the 20140415124820
migration, but the column is added in 20150826001931
. This migration moves the limits changes to a later point.