function profile2_update_7100 in Profile 2 7
Same name and namespace in other branches
- 7.2 profile2.install \profile2_update_7100()
Add in the exportable entity db columns as required by the entity API.
File
- ./
profile2.install, line 168 - Install, update and uninstall functions for the profile module.
Code
function profile2_update_7100() {
db_add_field('profile_type', 'status', array(
'type' => 'int',
'not null' => TRUE,
'default' => ENTITY_CUSTOM,
'size' => 'tiny',
'description' => 'The exportable status of the entity.',
));
db_add_field('profile_type', 'module', array(
'description' => 'The name of the providing module if the entity has been defined in code.',
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
));
}