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

Diff of /contributions/modules/statistics_filter/statistics_filter.install

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

revision 1.2, Mon Sep 15 15:53:25 2008 UTC revision 1.3, Mon Sep 15 16:24:28 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: statistics_filter.install,v 1.2 2008/09/15 15:53:25 frankralf Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 8  Line 8 
8    
9  function statistics_filter_schema() {  function statistics_filter_schema() {
10    $schema['statistics_filter_browsers'] = array(    $schema['statistics_filter_browsers'] = array(
11      // Table description.
12      'description' => t('Stores browser details for statistics filtering'),
13      // Field definition      // Field definition
14      'fields' => array(      'fields' => array(
15       'browser' => array(       'browser' => array(
16        'type' => 'varchar',        'type' => 'varchar',
17        'length' => '255',        'length' => '255',
18        'not null' => TRUE,        'not null' => TRUE,
19        'default' => ''        'default' => '',
20          'description' => t('Name of browser')
21        ),        ),
22        'counter' => array(        'counter' => array(
23          'type' => 'int',          'type' => 'int',
24          'not null' => TRUE,          'not null' => TRUE,
25          'default' => 0,          'default' => 0,
26          'disp-width' => '11'          'disp-width' => '11',
27            'description' => t('Counter')
28        ),        ),
29      'is_crawler' => array(      'is_crawler' => array(
30         'type' => 'int',         'type' => 'int',
31         'size' => 'tiny',         'size' => 'tiny',
32         'not null' => TRUE,         'not null' => TRUE,
33         'default' => 0,         'default' => 0,
34         'disp-width' => '1'         'disp-width' => '1',
35           'description' => t('Flag for crawlers')
36        ),        ),
37      ),      ),
38      // Index declarations      // Index declarations

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2