atrsimilar_schema

Versions
6.1
atrsimilar_schema()

Implementation of hook_schema().

Code

atr/modules/atrsimilar/atrsimilar.install, line 11

<?php
function atrsimilar_schema() {
  return array(
    'atrsimilar_string' => array(
      'description' => 'Strings that are similar to eachother..',
      'fields' => array(
        'sid_a' => array(
          'description' => 'The {atr_string}.sid of the first string.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
        ),
        'sid_b' => array(
          'description' => 'The {atr_string}.sid of the second string.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
        ),
        'similarity' => array(
          'description' => 'A percentage describing how similar sid_a and sid_b are.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
        ),
      ),
    ),
  );
}
?>