You are here

function node_registration_update_7 in Node registration 7

Add column `waitinglist` to `node_registration`.

File

./node_registration.install, line 226
Install, uninstall, enable and disable hooks and schema.

Code

function node_registration_update_7() {
  db_add_field('node_registration', 'waitinglist', array(
    'description' => 'Whether this registration is on the waitinglist.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
}