/[drupal]/contributions/modules/wordfilter/wordfilter.install
ViewVC logotype

Diff of /contributions/modules/wordfilter/wordfilter.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.1.2.2, Wed May 21 05:41:02 2008 UTC revision 1.4.2.1.2.3, Tue Apr 14 08:07:25 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: wordfilter.install,v 1.4.2.1.2.1 2008/04/22 13:14:04 jaydub Exp $  // $Id: wordfilter.install,v 1.4.2.1.2.2 2008/05/21 05:41:02 jaydub Exp $
3    
4  /**  /**
5   * Implementation of hook_schema().   * Implementation of hook_schema().
6   */   */
7  function wordfilter_schema() {  function wordfilter_schema() {
8    $schema['wordfilter'] = array(    $schema['wordfilter'] = array(
9      'description' => t('The {wordfilter} table stores user ids of users and other users that they have chosen to ignore.'),      'description' => 'The {wordfilter} table stores user ids of users and other users that they have chosen to ignore.',
10      'fields' => array(      'fields' => array(
11        'id' => array(        'id' => array(
12          'description' => t('The ID of the wordfilter word pair.'),          'description' => 'The ID of the wordfilter word pair.',
13          'type' => 'serial',          'type' => 'serial',
14          'not null' => TRUE,          'not null' => TRUE,
15        ),        ),
16        'words' => array(        'words' => array(
17          'description' => t('The word to filter.'),          'description' => 'The word to filter.',
18          'type' => 'text',          'type' => 'text',
19          'not null' => TRUE,          'not null' => TRUE,
20        ),        ),
21        'replacement' => array(        'replacement' => array(
22          'description' => t('The replacement word to filter with.'),          'description' => 'The replacement word to filter with.',
23          'type' => 'varchar',          'type' => 'varchar',
24          'length' => 255,          'length' => 255,
25          'not null' => TRUE,          'not null' => TRUE,
26          'default' => '',          'default' => '',
27        ),        ),
28        'standalone' => array(        'standalone' => array(
29          'description' => t('A boolean to indicate if the word filtering should only be done if the word is not part of another word.'),          'description' => 'A boolean to indicate if the word filtering should only be done if the word is not part of another word.',
30          'type' => 'int',          'type' => 'int',
31          'size' => 'tiny',          'size' => 'tiny',
32          'not null' => TRUE,          'not null' => TRUE,

Legend:
Removed from v.1.4.2.1.2.2  
changed lines
  Added in v.1.4.2.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2