diff options
author | Keiji, Yoshimi <walf443@gmail.com> | 2017-04-17 11:23:13 +0900 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-17 04:23:13 +0200 |
commit | 7a5086729affa01f44eda3ad72da147abb4377c5 (patch) | |
tree | 35ac763788c811168eff6c2680db77f4307c1a81 /app/models/import.rb | |
parent | 5e94643058e3bc07fc1eddb46d678c32de88b284 (diff) |
reduce unneed query when post without attachements. (#1907)
* reduce unneed query when post without attachements. This commit reduce following query: ``` MediaAttachment Load (0.9ms) SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status _id" IS NULL AND 1=0 ORDER BY id asc ``` * fixed for more simple changes.
Diffstat (limited to 'app/models/import.rb')
0 files changed, 0 insertions, 0 deletions