Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- taxdex.install
- ==============
- <?php
- /**
- * Implementation of hook_install()
- */
- function taxdex_install(){
- drupal_install_schema('taxdex');
- }
- /**
- * Implementation of hook_uninstall()
- */
- function taxdex_uninstall(){
- drupal_uninstall_schema('taxdex');
- }
- /**
- * Implementation of hook_schema()
- */
- function taxdex_schema(){
- $schema['taxdex'] = array(
- 'description' => t('Table containing Taxdex data.'),
- 'fields' => array(
- 'txid' => array(
- 'description' => t('Taxodex ID.'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- )
- )
- );
- return $schema;
- }
Add Comment
Please, Sign In to add comment