-- phpMyAdmin SQL Dump
-- version 2.11.9.2
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2010 年 06 月 02 日 07:22
-- 服务器版本: 5.1.28
-- PHP 版本: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- 数据库: `ayaya_temp`
--

-- --------------------------------------------------------

--
-- 表的结构 `dodo_article`
--

CREATE TABLE IF NOT EXISTS `dodo_article` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `menu_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `post_id` int(10) unsigned NOT NULL DEFAULT '0',
  `post_time` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `menu_id` (`menu_id`),
  KEY `post_time` (`post_time`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `dodo_comments`
--

CREATE TABLE IF NOT EXISTS `dodo_comments` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `authorid` int(10) NOT NULL DEFAULT '0',
  `post_time` int(10) NOT NULL DEFAULT '0',
  `content` text NOT NULL,
  `post_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `post_id` (`post_id`),
  KEY `post_time` (`post_time`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------


--
-- 表的结构 `dodo_page`
--

CREATE TABLE IF NOT EXISTS `dodo_page` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `val` longtext NOT NULL,
  `val2` longtext NOT NULL,
  `post_time` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `dodo_posts`
--

CREATE TABLE IF NOT EXISTS `dodo_posts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `authorid` int(10) NOT NULL DEFAULT '0',
  `post_time` int(10) NOT NULL DEFAULT '0',
  `content` longtext NOT NULL,
  `title` text NOT NULL,
  `comment` mediumint(8) NOT NULL DEFAULT '0',
  `module` varchar(20) NOT NULL,
  `items` text NOT NULL,
  `hits` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `mids` text NOT NULL,
  `keyword` varchar(255) NOT NULL,
  `thumb` varchar(255) NOT NULL,
  `doc` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `hits` (`hits`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `dodo_user`
--

CREATE TABLE IF NOT EXISTS `dodo_user` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `name` varchar(20) NOT NULL,
  `pass` varchar(64) NOT NULL,
  `reg_time` int(10) NOT NULL DEFAULT '0',
  `sex` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `team` tinyint(2) NOT NULL DEFAULT '1',
  `email` varchar(255) NOT NULL,
  `posts` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `dodo_val`
--

CREATE TABLE IF NOT EXISTS `dodo_val` (
  `id` mediumint(6) NOT NULL AUTO_INCREMENT,
  `name` varchar(40) NOT NULL,
  `value` longtext NOT NULL,
  `iscache` tinyint(1) NOT NULL DEFAULT '0',
  `flush` int(10) NOT NULL DEFAULT '0',
  `serialize` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
