soundcloud/large-hadron-migrator — pull request #36 by erikogan (2013-06-18 02:09:42+00:00)
Title: Add support for tables with outbound foreign key constraints.

This branch allows LHM to migrate tables with (outbound) foreign key constraints by renaming the constraints on the destination table.

The destination names are generated by a simple brute force to replace/add a sequence number, offset by the total number of foreign keys on the table.