function wordpress_migrate_update_7006 in WordPress Migrate 7.2
Add the wordpress_migrate_attachment table and wxr_version column..
File
- ./
wordpress_migrate.install, line 268 - WordPress migration module installation
Code
function wordpress_migrate_update_7006() {
if (!db_field_exists('wordpress_migrate', 'wxr_version')) {
db_add_field('wordpress_migrate', 'wxr_version', array(
'type' => 'varchar',
'length' => 10,
'not null' => TRUE,
'default' => '1.1',
'description' => 'WXR version of the imported file',
));
}
if (!db_table_exists('wordpress_migrate_linked_authors')) {
db_create_table('wordpress_migrate_linked_authors', wordpress_migrate_schema_linked_authors());
}
return t('Added the wordpress_migrate_linked_authors table and wxr_version column');
}