You are here

public static function MigrateDestinationFile::getKeySchema in Migrate 7.2

Implementation of MigrateDestination::getKeySchema().

Return value

array

2 calls to MigrateDestinationFile::getKeySchema()
WineFileBlobMigration::__construct in migrate_example/wine.inc
General initialization of a Migration object.
WineFileCopyMigration::__construct in migrate_example/wine.inc
General initialization of a Migration object.

File

plugins/destinations/file.inc, line 560
Support for file entity as destination. Note that File Fields have their own destination in fields.inc

Class

MigrateDestinationFile
Destination class implementing migration into the files table.

Code

public static function getKeySchema() {
  return array(
    'fid' => array(
      'type' => 'int',
      'unsigned' => TRUE,
      'description' => 'file_managed ID',
    ),
  );
}