You are here

function wordpress_migrate_update_7003 in WordPress Migrate 7

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

Add blog_url field to wordpress_migrate table.

File

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

Code

function wordpress_migrate_update_7003() {
  $ret = array();
  db_add_field('wordpress_migrate', 'blog_url', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'description' => 'Original blog URL',
  ));
  $ret[] = t('Added blog_url column to wordpress_migrate table');
  return $ret;
}