~ubuntu-branches/ubuntu/jaunty/drupal6/jaunty-updates

« back to all changes in this revision

Viewing changes to modules/statistics/statistics.install

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano, Luigi Gangitano
  • Date: 2009-02-16 19:37:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216193731-enpurcvayhavzug0
Tags: 6.9-1
[ Luigi Gangitano ]  
* New upstream release
  - Removed security patch integrate upstream
    + 12_SA-2008-073
    + 13_SA-CORE-2009-001

* debian/cron.sh
  - Handle sites/all correctly (Closes: #513522)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: statistics.install,v 1.13 2007/12/18 12:59:22 dries Exp $
 
2
// $Id: statistics.install,v 1.13.2.1 2009/01/06 15:46:37 goba Exp $
3
3
 
4
4
/**
5
5
 * Implementation of hook_install().
49
49
 */
50
50
function statistics_schema() {
51
51
  $schema['accesslog'] = array(
52
 
    'description' => t('Stores site access information for statistics.'),
 
52
    'description' => 'Stores site access information for statistics.',
53
53
    'fields' => array(
54
54
      'aid' => array(
55
55
        'type' => 'serial',
56
56
        'not null' => TRUE,
57
 
        'description' => t('Primary Key: Unique accesslog ID.'),
 
57
        'description' => 'Primary Key: Unique accesslog ID.',
58
58
      ),
59
59
      'sid' => array(
60
60
        'type' => 'varchar',
61
61
        'length' => 64,
62
62
        'not null' => TRUE,
63
63
        'default' => '',
64
 
        'description' => t('Browser session ID of user that visited page.'),
 
64
        'description' => 'Browser session ID of user that visited page.',
65
65
      ),
66
66
      'title' => array(
67
67
        'type' => 'varchar',
68
68
        'length' => 255,
69
69
        'not null' => FALSE,
70
 
        'description' => t('Title of page visited.'),
 
70
        'description' => 'Title of page visited.',
71
71
      ),
72
72
      'path' => array(
73
73
        'type' => 'varchar',
74
74
        'length' => 255,
75
75
        'not null' => FALSE,
76
 
        'description' => t('Internal path to page visited (relative to Drupal root.)'),
 
76
        'description' => 'Internal path to page visited (relative to Drupal root.)',
77
77
      ),
78
78
      'url' => array(
79
79
        'type' => 'varchar',
80
80
        'length' => 255,
81
81
        'not null' => FALSE,
82
 
        'description' => t('Referrer URI.'),
 
82
        'description' => 'Referrer URI.',
83
83
      ),
84
84
      'hostname' => array(
85
85
        'type' => 'varchar',
86
86
        'length' => 128,
87
87
        'not null' => FALSE,
88
 
        'description' => t('Hostname of user that visited the page.'),
 
88
        'description' => 'Hostname of user that visited the page.',
89
89
      ),
90
90
      'uid' => array(
91
91
        'type' => 'int',
92
92
        'unsigned' => TRUE,
93
93
        'not null' => FALSE,
94
94
        'default' => 0,
95
 
        'description' => t('User {users}.uid that visited the page.'),
 
95
        'description' => 'User {users}.uid that visited the page.',
96
96
      ),
97
97
      'timer' => array(
98
98
        'type' => 'int',
99
99
        'unsigned' => TRUE,
100
100
        'not null' => TRUE,
101
101
        'default' => 0,
102
 
        'description' => t('Time in milliseconds that the page took to load.'),
 
102
        'description' => 'Time in milliseconds that the page took to load.',
103
103
      ),
104
104
      'timestamp' => array(
105
105
        'type' => 'int',
106
106
        'unsigned' => TRUE,
107
107
        'not null' => TRUE,
108
108
        'default' => 0,
109
 
        'description' => t('Timestamp of when the page was visited.'),
 
109
        'description' => 'Timestamp of when the page was visited.',
110
110
      ),
111
111
    ),
112
112
    'indexes' => array(