impress/app
Emi Matchu efda6d74ab Add cached fields to Item model for searching, but don't use them yet
This is the first part of a change to improve search performance, by
caching occupied zone IDs and supported body IDs onto the Item record
itself, instead of always doing joins with `SwfAsset`.

It's unfortunate, because part of the power of SQL is joins! But doing
joins with big tables, in ways that can't take advantage of indexes in
the same ways as we often want to, is… slow.

It's possible there's something I'm misunderstanding about SQL
optimization, and this _could_ be done with query optimization or
indexes instead of duplicating data like this? This complexity carries
the risk of data getting out of sync in unforeseen ways. But this is
what I know how to do, and it seems to be working, so! Okay!
2024-09-30 23:10:44 -07:00
..
assets Limit Rainbow Pool filter dropdown size 2024-09-30 17:42:52 -07:00
controllers Paginate Alt Styles, sort by most recent first-seen date 2024-09-30 17:35:18 -07:00
helpers Add edit form for Alt Styles, for Support staff only 2024-09-30 17:21:45 -07:00
javascript Oops, fix locale form with Turbo pageloads 2024-09-20 18:55:08 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Add cached fields to Item model for searching, but don't use them yet 2024-09-30 23:10:44 -07:00
services Oops, don't show not-directly-for-sale items as being "0 NC" 2024-09-27 18:27:12 -07:00
views Oops, omit the commit field from Rainbow Pool filter URLs 2024-09-30 18:05:05 -07:00