1.20.x comment.install comment_schema_alter(&$schema)

Implements hook_schema_alter().

File

modules/comment/comment.install, line 10
Install, update and uninstall functions for the Comment module.

Code

function comment_schema_alter(&$schema) {
  $schema['node']['fields']['comment_close_override'] = array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
    'size' => 'tiny',
    'description' => 'Override the automatic comment closer. (0 = Do not override, 1 = Override)',
  );
}