<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: install.php 8889 2010-04-23 07:48:22Z monkey $
 */

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

$sql = <<<EOF

DROP TABLE IF EXISTS cdb_qqrobot_qq;
CREATE TABLE IF NOT EXISTS `cdb_qqrobot_qq` (
  `id` int(11) NOT NULL auto_increment,
  `uid` int(11) NOT NULL,
  `qq` varchar(15) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk AUTO_INCREMENT=10 ;
DROP TABLE IF EXISTS cdb_qqrobot_send;
CREATE TABLE IF NOT EXISTS `cdb_qqrobot_send` (
  `id` int(11) NOT NULL auto_increment,
  `content` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk AUTO_INCREMENT=39 ;
EOF;

runquery($sql);

$finish = TRUE;

?>