You are here

function feeds_update_7201 in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.install \feeds_update_7201()

Add imported timestamp to feeds_source table.

File

./feeds.install, line 424
Schema definitions install/update/uninstall hooks.

Code

function feeds_update_7201() {
  $spec = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'unsigned' => TRUE,
    'description' => 'Timestamp when this source was imported last.',
  );
  db_add_field('feeds_source', 'imported', $spec);
}