You are here

function node_registration_update_8 in Node registration 7

Make column `capacity` nullable.

File

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

Code

function node_registration_update_8() {
  db_change_field('node_registration_node', 'capacity', 'capacity', array(
    'description' => 'Maximum number of users who can signup for this event.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => FALSE,
    'default' => NULL,
  ));
}