<?php

/**
 *      [Dzz!] (C)2001-2099 dzz.cc
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: install.php 8889 2012-1-23 07:48:22Z angelRain $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

$sql = <<<EOF
CREATE TABLE IF NOT EXISTS `pre_dzz_plugin_note` (
  `uid` mediumint(8) unsigned NOT NULL,
  `username` varchar(255) NOT NULL,
  `note` text NOT NULL,
  `dateline` int(10) unsigned NOT NULL,
  `style` varchar(255) NOT NULL,
  `idtype` enum('gid','icoid') NOT NULL,
  `typeid` int(10) unsigned NOT NULL default '0',
  UNIQUE KEY `uid` (`uid`,`idtype`,`typeid`)
) ENGINE=MyISAM;
EOF;

runquery($sql);

$finish = TRUE;

?>