protected property OgMigrateUserRoles::$sourceKey in Organic groups 7.2
File
- includes/
migrate/ 7200/ og_user_roles.migrate.inc, line 19 - Update the group ID in user roles.
Class
- OgMigrateUserRoles
- @file Update the group ID in user roles.
Code
protected $sourceKey = array(
'uid' => array(
'type' => 'int',
'not null' => TRUE,
),
'rid' => array(
'type' => 'int',
'not null' => TRUE,
),
'gid' => array(
'type' => 'int',
'not null' => TRUE,
// Set the alias, so the query in MigrateSourceSQL::performRewind()
// will not fail.
'alias' => 'og',
),
);