forked from OpenNeo/impress
Emi Matchu
857cb547ed
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! |
||
---|---|---|
.. | ||
fundraising | ||
item | ||
alt_style.rb | ||
application_record.rb | ||
auth_record.rb | ||
auth_user.rb | ||
closet_hanger.rb | ||
closet_list.rb | ||
closet_visibility.rb | ||
color.rb | ||
contribution.rb | ||
item.rb | ||
item_outfit_relationship.rb | ||
nc_mall_record.rb | ||
neopets_connection.rb | ||
neopets_page.rb | ||
outfit.rb | ||
parent_swf_asset_relationship.rb | ||
pet.rb | ||
pet_state.rb | ||
pet_type.rb | ||
species.rb | ||
swf_asset.rb | ||
user.rb | ||
zone.rb |