You are here

function feeds_schema in Feeds 8.3

Same name and namespace in other branches
  1. 8.2 feeds.install \feeds_schema()
  2. 6 feeds.install \feeds_schema()
  3. 7.2 feeds.install \feeds_schema()
  4. 7 feeds.install \feeds_schema()

Implements hook_schema().

File

./feeds.install, line 18
Install/update/uninstall hooks.

Code

function feeds_schema() {
  $schema['feeds_clean_list'] = [
    'description' => 'Keeps a list of items to clean after the process stage.',
    'fields' => [
      'feed_id' => [
        'description' => 'The ID of the feed.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ],
      'entity_id' => [
        'description' => 'The ID of the entity to clean.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ],
    ],
  ];
  return $schema;
}