You are here

function eck_update_7004 in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7 eck.install \eck_update_7004()
  2. 7.2 eck.install \eck_update_7004()

Adds the custom properties column to the eck table.

File

./eck.install, line 285
ECK's requirements, schemas, and logic for install and uninstall.

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.',
  ));
}