You are here

function registration_update_7201 in Entity Registration 7.2

Rename user id to registrant id because we are registering more than just users.

File

./registration.install, line 691
Schema and installation hooks for registration module.

Code

function registration_update_7201(&$sandbox) {
  db_change_field('registration', 'user_uid', 'registrant_id', array(
    'description' => 'The entity id of the registrant associated with this registration.',
    'type' => 'int',
    'not null' => FALSE,
    'default' => 0,
  ));
}