<?php

/**
 * Implementation of hook_install().
 */
function digett_install() {
  $ret = array();

  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      $ret[] = db_query("CREATE TABLE {digett_blocks} (
        delta tinyint(4) NOT NULL auto_increment,
        type varchar(32) NOT NULL default '',
			  info varchar(64) NOT NULL default '',
			  data longtext NOT NULL,
        KEY delta (delta))
        COMMENT='Digett Module Block Data'
        /*!40100 default CHARACTER SET utf8 */"
      );
      break;
    case 'pgsql':
    	break;
  }

  return $ret;
}
