2
// $Id: download_count.install,v 1.2.2.1 2008/01/11 01:42:14 chill35 Exp $
5
* Implementation of hook_install().
8
function download_count_install() {
10
drupal_install_schema('download_count');
14
* Implementation of hook_schema().
16
function download_count_schema() {
18
$schema['file_downloads'] = array(
20
'filename' => array('type' => 'varchar', 'length' => '255', 'not null' => 1),
21
'timestamp' => array('type' => 'int', 'not null' => 1, 'default' => 0, 'disp-width' => '11'),
22
'count' => array('type' => 'int', 'not null' => 1, 'default' => 0, 'disp-width' => '11')),
23
'unique keys' => array(
24
'filename' => array('filename')),
32
* Implementation of hook_uninstall().
34
function download_count_uninstall() {
36
drupal_uninstall_schema('download_count');
b'\\ No newline at end of file'