You are here

function eck_update_7011 in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7.2 eck.install \eck_update_7011()

Eliminating the multiple primary ids in the bundle and entity type tables.

File

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

Code

function eck_update_7011() {
  db_add_unique_key("eck_entity_type", "name", array(
    'name',
  ));
  db_add_unique_key("eck_bundle", "machine_name", array(
    'machine_name',
  ));
}