mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-18 08:01:57 +01:00
7a5086729a
* 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.