function migrate_update_6008 in Migrate 6
File
- ./
migrate.install, line 419 - Implementation of profile destination handling
Code
function migrate_update_6008() {
$ret = array();
db_add_field($ret, 'migrate_content_sets', 'view_args', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
// Ideally we'd want a unique key on view_name,view_args. However, MySQL
// will complain that the key is too long (if the table has UTF8 encoding).
// It's up to the code to enforce uniqueness.
db_drop_unique_key($ret, 'migrate_content_sets', 'view_name');
db_add_index($ret, 'migrate_content_sets', 'view_name', array(
'view_name',
));
return $ret;
}