You are here

function better_messages_schema in Better Messages 7.2

Implements hook_schema().

File

./better_messages.install, line 16

Code

function better_messages_schema() {
  $schema['better_messages'] = array(
    'description' => 'Better Messages settings table.',
    'fields' => array(
      'name' => array(
        'description' => 'Better Messages skin machine name.',
        'type' => 'varchar',
        'length' => 128,
      ),
      'data' => array(
        'description' => 'The settings of the Better Messages skin.',
        'type' => 'blob',
        'size' => 'normal',
      ),
    ),
    'unique keys' => array(
      'name' => array(
        'name',
      ),
    ),
    'primary key' => array(
      'name',
    ),
  );
  return $schema;
}