Update migrateUserGroup to deal with primary key issue
authorMark A. Hershberger <mah@everybody.org>
Wed, 20 Jun 2012 19:52:58 +0000 (15:52 -0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Fri, 29 Jun 2012 19:39:25 +0000 (23:39 +0400)
commitd5fced5058a594a542f3cbad46c9e9c8b5e27ddc
tree44d09b4184a3ef8c232a0211eaf6a504a3b5c394
parentce00cb85843a2c89e9a9409fe383aa61e222218f
Update migrateUserGroup to deal with primary key issue

Update migrateUserGroup so that if a user is in both the old group and
the new group, the script still succeeds.  Otherwise, it will fail
with violations to the PRIMARY KEY index on the user_groups table.

Change-Id: I7bfda03f5735633d03b81092dad29d73293cd182
maintenance/migrateUserGroup.php