You are here

function wordpress_migrate_update_7001 in WordPress Migrate 7

Same name and namespace in other branches
  1. 7.2 wordpress_migrate.install \wordpress_migrate_update_7001()

Add uid field to wordpress_migrate table.

File

./wordpress_migrate.install, line 78
WordPress migration module installation

Code

function wordpress_migrate_update_7001() {
  $ret = array();
  db_add_field('wordpress_migrate', 'uid', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'description' => "User ID of the account initiating the import",
  ));
  $ret[] = t('Added uid column to wordpress_migrate table');
  return $ret;
}