1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate
Matchu 696b2aedaf give SWFs real, unique ID numbers
Lots of scary bugs were being caused by the fact that the possibly-duplicate Neopets ID
was being treated as an SWF's real primary key, meaning that a save meant for object swf
number 123 could be saved to biology swf number 123. Which is awful.

This update gives SWFs their own unique internal ID numbers. All external lookups still use
the remote ID and the type, meaning that the client side remains totally unchanged (phew).
However, all database relationships with SWFs use the new ID numbers, making everything
cleaner. Yay.

There are probably a few places where it would be appropriate to optimize certain lookups
that still depend on remote ID and type. Whatever. Today's goal was to remove crazy
glitches that have been floating around like mad. And I think that goal has been met.
2012-01-12 17:17:59 -06:00
..
20101109021049_create_outfits.rb lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
20101109021147_create_item_outfit_relationships.rb lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
20101110213044_add_name_and_starred_to_outfits.rb lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
20101125153424_treat_sold_in_mall_as_a_boolean.rb add rake items:mall_spider 2010-11-25 11:10:21 -05:00
20101125154435_allow_null_for_some_objects_fields.rb add rake items:mall_spider 2010-11-25 11:10:21 -05:00
20101125160843_add_swf_assets_type_and_id_index.rb add rake items:mall_spider 2010-11-25 11:10:21 -05:00
20110126180835_users_devise.rb devise implemented, but not remembering 2011-01-26 13:40:15 -05:00
20110210222230_guest_outfits.rb allow guests to share outfits 2011-02-10 17:50:47 -05:00
20110514145602_add_has_image_to_swf_assets.rb moving toward s3 image storage 2011-05-20 19:19:14 -04:00
20110515134542_add_image_requested_to_swf_assets.rb moving toward s3 image storage 2011-05-20 19:19:14 -04:00
20110626202605_add_image_mode_tester_to_users.rb image mode 2011-06-27 15:33:34 -04:00
20110712232259_create_closet_hangers.rb closet page, closet hanger 2011-07-14 13:56:20 -04:00
20110713162012_set_closet_hangers_quantity_default_to_zero.rb basic hanger interface from item 2011-07-14 13:56:44 -04:00
20110720183722_add_neopets_username_to_users.rb neomail link on closets 2011-07-20 15:16:22 -04:00
20110722180616_add_owned_to_closet_hangers.rb distinguish between owning and wanting an item 2011-07-22 15:35:38 -04:00
20110726231143_create_closet_lists.rb closet lists, round one 2011-07-29 10:52:04 -04:00
20110730174148_add_closet_hangers_visibility_to_users.rb privacy for unlisted hangers 2011-07-30 19:45:28 -04:00
20110731021808_add_visibility_to_closet_lists.rb set list visibility in closet_lists#edit 2011-07-30 22:34:27 -04:00
20110804134432_add_timestamps_to_items.rb newest items 2011-08-04 10:01:44 -04:00
20110807212936_add_conversion_timestamps_to_swf_assets.rb report broken images 2011-08-07 18:23:44 -04:00
20120112204234_rename_swf_assets_id_to_remote_id.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00