impress/app
Emi Matchu 857cb547ed Add Item#dyeworks_base_item database field, and populate it
In this change, instead of *always* inferring the Dyeworks base item
from the item name at runtime, we now have a database field that tracks
it, and auto-populates whenever an item *seems* to need a Dyeworks base
item but doesn't have one yet.

This will enable us to set the base item manually in cases where it
can't be inferred, and load Dyeworks base items for the Item Getting
Guide in one query with `includes(:dyeworks_base_item)`.

This migration does a bit more of the fix-em-up scripting work *in* the
migration itself than I usually do, mainly because there's so much in
this one that I think being extra-explicit is useful. We make sure to
do it gracefully though!
2024-06-07 20:10:06 -07:00
..
assets Don't let action buttons wrap onto multiple lines in Item Getting Guide 2024-05-28 17:16:41 -07:00
controllers Handle newly-released PB items in Item Getting Guide 2024-06-05 19:23:57 -07:00
helpers Add OWLS values to non-NC-Mall NC items in Item Getting Guide 2024-05-27 15:53:08 -07:00
javascript Redesign "Get these items!" button to use a cart icon instead 2024-05-31 17:38:25 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Add Item#dyeworks_base_item database field, and populate it 2024-06-07 20:10:06 -07:00
services Load *all* NC Mall pages in nc_mall:sync 2024-05-10 17:39:40 -07:00
views Oops, say "these items" plural for basic colors in Item Getting Guide 2024-06-05 19:51:11 -07:00