aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-17 06:06:21 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-03-17 09:37:08 +0900
commit0ad70eb2d063cab577a559f6c3d28e787ca1dca8 (patch)
treeda8193ff9d12a38c826250a50fc98844bf0eb0e0 /activerecord/lib/active_record/callbacks.rb
parent8ed636511779ed1472f4f88362ded34f61005f4a (diff)
downloadrails-0ad70eb2d063cab577a559f6c3d28e787ca1dca8.tar.gz
rails-0ad70eb2d063cab577a559f6c3d28e787ca1dca8.tar.bz2
rails-0ad70eb2d063cab577a559f6c3d28e787ca1dca8.zip
Make `truncate_tables` to bulk statements
Before: ``` (16.4ms) TRUNCATE TABLE `author_addresses` (20.5ms) TRUNCATE TABLE `authors` (19.4ms) TRUNCATE TABLE `posts` ``` After: ``` Truncate Tables (19.5ms) TRUNCATE TABLE `author_addresses`; TRUNCATE TABLE `authors`; TRUNCATE TABLE `posts` ```
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions