| 1 |
<?php |
<?php |
|
// $Id: xslt_book.install,v 1.1 2008/07/07 13:42:08 tmcw Exp $ |
|
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* Implementation of hook_schema(). |
* Implementation of hook_schema(). |
| 37 |
'type' => 'text', |
'type' => 'text', |
| 38 |
'not null' => FALSE, |
'not null' => FALSE, |
| 39 |
), |
), |
| 40 |
|
'serialized' => array( |
| 41 |
|
'description' => t('TODO'), |
| 42 |
|
'type' => 'int', |
| 43 |
|
'not null' => TRUE, |
| 44 |
|
'default' => 0, |
| 45 |
|
), |
| 46 |
), |
), |
| 47 |
'indexes' => array( |
'indexes' => array( |
| 48 |
'expire' => array('expire'), |
'expire' => array('expire'), |
| 57 |
// Create tables. |
// Create tables. |
| 58 |
drupal_install_schema('xslt_book'); |
drupal_install_schema('xslt_book'); |
| 59 |
} |
} |
| 60 |
|
function xslt_book_uninstall() { |
| 61 |
|
drupal_uninstall_schema('xslt_book'); |
| 62 |
|
} |