aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/active_record
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-01-11 20:14:01 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-02-01 13:05:47 +0900
commit57604cf24ce40a23de0e8d75fc366c24c9fe3aac (patch)
tree2e93a979a143dbf00024606dfaff2373773eb485 /activerecord/test/active_record
parent2f8ba24ec65d7a850e7ec0985d44be4a86da04c5 (diff)
downloadrails-57604cf24ce40a23de0e8d75fc366c24c9fe3aac.tar.gz
rails-57604cf24ce40a23de0e8d75fc366c24c9fe3aac.tar.bz2
rails-57604cf24ce40a23de0e8d75fc366c24c9fe3aac.zip
Avoid extra `show variables` in migration
`initialize_schema_migrations_table` is called in every migrations. https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/migration.rb#L1080 https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/schema.rb#L51 This means that extra `show variables` is called regardless of the existence of `schema_migrations` table. This change is to avoid extra `show variables` if `schema_migrations` table exists.
Diffstat (limited to 'activerecord/test/active_record')
0 files changed, 0 insertions, 0 deletions