function eck_update_7004 in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.install \eck_update_7004()
- 7.2 eck.install \eck_update_7004()
Adds the custom properties column to the eck table.
File
- ./
eck.install, line 280 - This install file creates a table for the this module to store information about entities. Well, the only information that it needs to store is a name and a label for each entity created, the rest of the information is generated by the functions.
Code
function eck_update_7004() {
db_add_field('eck', 'custom_properties', array(
'type' => 'text',
'not null' => TRUE,
'serialize' => TRUE,
'initial' => serialize(array()),
'description' => 'A serialized list of custom properties attached to this entity.',
));
}