impress/db
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
..
migrate Add Item#dyeworks_base_item database field, and populate it 2024-06-07 20:10:06 -07:00
openneo_id_migrate Connect a NeoPass to an existing account 2024-04-08 05:33:58 -07:00
openneo_id_schema.rb Connect a NeoPass to an existing account 2024-04-08 05:33:58 -07:00
schema.rb Add Item#dyeworks_base_item database field, and populate it 2024-06-07 20:10:06 -07:00
seeds.rb Move fundraising models into the Fundraising module 2024-02-18 20:29:31 -08:00