diff options
author | Akira Matsuda & Naoto Koshikawa <ronnie@dio.jp> | 2016-01-27 17:44:27 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-01-27 18:17:13 +0900 |
commit | 42dd2336b31a8d98776d039a2b9fd7f834156a78 (patch) | |
tree | dcf28e1b837a08b39b452f98c9e3e14e5f2bd6df /actionmailer | |
parent | 3844854af109fb9eee75c90bacf8bf87eb2bf968 (diff) | |
download | rails-42dd2336b31a8d98776d039a2b9fd7f834156a78.tar.gz rails-42dd2336b31a8d98776d039a2b9fd7f834156a78.tar.bz2 rails-42dd2336b31a8d98776d039a2b9fd7f834156a78.zip |
INSERT INTO schema_migrations in 1 SQL
We found that inserting all 600 schema_migrations for our mid-sized app takes about a minute on a cloud based CI environment.
I assume that the original code did not use multi-row-insert because SQLite3 was not supporting the syntax back then,
but it's been supported since 3.7.11: http://www.sqlite.org/releaselog/3_7_11.html
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions