dreamwidth/dw-free — pull request #779 by afuna (2014-07-01 11:59:24+00:00)
Title: Add "rcptid" to the list of PKs when moving users between clusters

Was erroring with "can't find index for table vgift_trans"; fix was just to
make sure that we acknowledged that "rcptid" in vgift_trans is also a
userid-type primary key (which identifies the user to be moved between
clusters)

Also refactors so that the list of userid-type primary key columns is a
variable, to avoid having to add to two if statements