INSERT INTO `art_settings` VALUES ('isNewsKiss','article','1');
ALTER TABLE `art_articles` ADD `kindid`  tinyint(1) NOT NULL default '0';
ALTER TABLE `art_articles` ADD `kiss`  smallint(6) unsigned NOT NULL default '0';
ALTER TABLE `art_articles` ADD `bury`  smallint(6) unsigned NOT NULL default '0';

ALTER TABLE `art_users` ADD `emailverify` tinyint(1) NOT NULL default '0';
ALTER TABLE `art_usergroups` ADD `isarticlefree`  tinyint(1) NOT NULL default '0';
ALTER TABLE `art_usergroups` ADD `isupload`  tinyint(1) NOT NULL default '0';
UPDATE `art_usergroups` SET `isarticlefree`=1,`isupload`=1 WHERE `groupid` IN (1,2,3)


DROP TABLE IF EXISTS `art_articlekinds`;
CREATE TABLE `art_articlekinds` (
  `kindid` tinyint(1) NOT NULL auto_increment,
  `name` char(10) NOT NULL default '',
  `status` tinyint(1) NOT NULL default '1',
  `displaysort` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`kindid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

INSERT INTO `art_articlekinds` VALUES (1,'·’²ΌΝΆΖ±',1,0);

DROP TABLE IF EXISTS `art_polls`;
CREATE TABLE `art_polls` (
  `aid` mediumint(8) unsigned NOT NULL default '0',
  `ismore` tinyint(1) NOT NULL default '0',
  `hits` mediumint(8) unsigned NOT NULL default '0',
  `expire` int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `art_pollsoptions`;
CREATE TABLE `art_pollsoptions` (
  `optionid` int(10) unsigned NOT NULL auto_increment,
  `aid` mediumint(8) unsigned NOT NULL default '0',
  `total` mediumint(8) unsigned NOT NULL default '0',
  `name` varchar(80) NOT NULL default '',
  `detail` mediumtext NOT NULL,
  PRIMARY KEY  (`optionid`),
  KEY `aid` (`aid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
