1 backup_test.install backup_test_schema()

Implements hook_schema().

File

core/modules/simpletest/tests/backup_test/backup_test.install, line 10
Install and update functions for the Backup test module.

Code

function backup_test_schema() {
  $schema = array();
  $schema['backup_test'] = array(
    'description' => 'Table for testing no-data and table exclusion during backups.',
    'fields' => array(
      'name' => array(
        'type' => 'varchar',
        'length' => 128,
        'not null' => TRUE,
        'default' => '',
      ),
      'value' => array(
        'type' => 'varchar',
        'length' => 128,
        'not null' => TRUE,
        'default' => '',
      ),
    ),
    'primary key' => array('name'),
  );
  return $schema;
}