Data importing and migrations

Here’s a quick summary of stuff related to data importing. The trigger is a stronger need now to be able to do imports without taking the production site offline or losing data when updating the database, as it is now being used for regular order cycles.

The ideal would be a rake-style process that can run and import and do rollback if needed. Can be run on any server, e.g. staging then production, so potentially might be useful to trigger from ofn_deployment?

See 274 as a starting point which has a list of related issues in summary.

Also 237 is still open.

cc @Aidan @NickWeir @stveep @lin_d_hop

There are some architecture notes that I wrote up a little while ago on data migration, which might be a useful starting point for thinking about making it more rigorous: