You are here

public static function MigrateDestinationOGMembership::getKeySchema in Migrate Extras 6.2

File

./og.inc, line 13
Import Organic group memberships.

Class

MigrateDestinationOGMembership
Destination class implementing migration into og_uid table.

Code

public static function getKeySchema() {
  return array(
    'gid' => array(
      'type' => 'int',
      'not null' => TRUE,
      'description' => 'NID of group',
    ),
    'uid' => array(
      'type' => 'int',
      'not null' => TRUE,
      'description' => 'UID of member',
    ),
  );
}