|
@@ -1,5 +1,5 @@
|
|
<?php
|
|
<?php
|
|
-// $Id: qbf.install,v 1.1.4.3 2009-03-17 18:49:21 marand Exp $
|
|
|
|
|
|
+// $Id: qbf.install,v 1.1.4.4 2009-03-19 17:26:22 marand Exp $
|
|
/**
|
|
/**
|
|
* @file
|
|
* @file
|
|
* QBF module - installer
|
|
* QBF module - installer
|
|
@@ -43,6 +43,14 @@ function qbf_schema()
|
|
'not null' => TRUE,
|
|
'not null' => TRUE,
|
|
'default' => 0,
|
|
'default' => 0,
|
|
),
|
|
),
|
|
|
|
+ 'type' => array
|
|
|
|
+ (
|
|
|
|
+ 'description' => t('Query type'),
|
|
|
|
+ 'type' => 'varchar',
|
|
|
|
+ 'length' => 20,
|
|
|
|
+ 'not null' => TRUE,
|
|
|
|
+ 'default' => '',
|
|
|
|
+ ),
|
|
'name' => array
|
|
'name' => array
|
|
(
|
|
(
|
|
'description' => t('Query name'),
|
|
'description' => t('Query name'),
|
|
@@ -77,8 +85,9 @@ function qbf_schema()
|
|
|
|
|
|
'indexes' => array
|
|
'indexes' => array
|
|
(
|
|
(
|
|
- 'query_updated' => array('updated'),
|
|
|
|
- 'query_created' => array('created'),
|
|
|
|
|
|
+ 'query_updated' => array('updated'),
|
|
|
|
+ 'query_created' => array('created'),
|
|
|
|
+ 'query_per_user' => array('uid', 'type'),
|
|
),
|
|
),
|
|
|
|
|
|
'unique keys' => array(),
|
|
'unique keys' => array(),
|
|
@@ -182,5 +191,6 @@ function qbf_update_5000()
|
|
*/
|
|
*/
|
|
function qbf_update_6000()
|
|
function qbf_update_6000()
|
|
{
|
|
{
|
|
|
|
+ // @todo convert to 6.x schema
|
|
return array();
|
|
return array();
|
|
}
|
|
}
|