You are here

function node_registration_update_10 in Node registration 7

Add column `node_type`.

File

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

Code

function node_registration_update_10() {
  db_add_field('node_registration', 'node_type', array(
    'description' => "The registration's node type.",
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
}