DROP TABLE IF EXISTS `articles`; CREATE TABLE `articles` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `tstamp` int(11) unsigned NOT NULL, `parent` int(11) unsigned DEFAULT NULL, `title` varchar(255) NOT NULL DEFAULT '', `alias` varchar(255) DEFAULT NULL, `teaser` text, `text` text, `published` int(1) unsigned DEFAULT NULL, `start` int(11) DEFAULT NULL, `stop` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; DROP TABLE IF EXISTS `articles_tags`; CREATE TABLE `articles_tags` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `article` int(10) unsigned NOT NULL, `tag` int(10) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; DROP TABLE IF EXISTS `categories`; CREATE TABLE `categories` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `parent` int(11) unsigned NOT NULL DEFAULT '0', `title` varchar(255) NOT NULL DEFAULT '', `description` text, `hidden` int(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; DROP TABLE IF EXISTS `tags`; CREATE TABLE `tags` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `hidden` int(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;