function semantic_fields_update_7001 in Semantic Fields 7
Change name of field name in database, if it exists
File
- ./
semantic_fields.install, line 74
Code
function semantic_fields_update_7001() {
if (!db_field_exists('semantic_fields_preset', 'admin_title')) {
db_change_field('semantic_fields_preset', 'human_name', 'admin_title', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
));
}
}