You are here

function migrate_update_6014 in Migrate 6

File

./migrate.install, line 542
Implementation of profile destination handling

Code

function migrate_update_6014() {
  $ret = array();
  db_change_field($ret, 'migrate_content_sets', 'view_name', 'view_name', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field($ret, 'migrate_content_sets', 'desttype', 'desttype', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field($ret, 'migrate_content_sets', 'description', 'description', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field($ret, 'migrate_content_sets', 'weight', 'weight', array(
    'type' => 'int',
    'unsigned' => FALSE,
    'not null' => TRUE,
    'default' => 0,
  ));
  db_change_field($ret, 'migrate_content_mappings', 'mcsid', 'mcsid', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  db_change_field($ret, 'migrate_content_mappings', 'srcfield', 'srcfield', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field($ret, 'migrate_content_mappings', 'destfield', 'destfield', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field($ret, 'migrate_content_mappings', 'default_value', 'default_value', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'default' => '',
  ));
  return $ret;
}