CREATE TABLE `cms_con_anec` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`title` VARCHAR(255) DEFAULT NULL,
`content` text DEFAULT NULL,
`photo` text DEFAULT NULL,
`slug` VARCHAR(100) DEFAULT NULL,
`seo_keys` VARCHAR(256) DEFAULT NULL,
`seo_desc` VARCHAR(256) DEFAULT NULL,
`seo_title` VARCHAR(256) DEFAULT NULL,
`tags` VARCHAR(1000) DEFAULT NULL,
`date_pub` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
`date_last_modified` TIMESTAMP NULL DEFAULT NULL,
`date_pub_end` TIMESTAMP NULL DEFAULT NULL,
`is_pub` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`hits_count` INT(11) UNSIGNED NOT NULL DEFAULT 0,
`user_id` INT(11) UNSIGNED DEFAULT NULL,
`parent_id` INT(11) UNSIGNED DEFAULT NULL,
`parent_type` VARCHAR(32) DEFAULT NULL,
`parent_title` VARCHAR(100) DEFAULT NULL,
`parent_url` VARCHAR(255) DEFAULT NULL,
`is_parent_hidden` tinyint(1) UNSIGNED DEFAULT NULL,
`category_id` INT(11) UNSIGNED NOT NULL DEFAULT 1,
`folder_id` INT(11) UNSIGNED DEFAULT NULL,
`is_comments_on` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`comments` INT(11) UNSIGNED NOT NULL DEFAULT 0,
`rating` INT(11) NOT NULL DEFAULT 0,
`is_deleted` tinyint(1) UNSIGNED DEFAULT NULL,
`is_approved` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
`approved_by` INT(11) UNSIGNED DEFAULT NULL,
`date_approved` TIMESTAMP NULL DEFAULT NULL,
`is_private` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `dataset_best` (`is_pub`,`is_parent_hidden`,`is_deleted`,`is_approved`,`rating`),
KEY `dataset_best_yearly` (`date_pub`,`is_pub`,`is_parent_hidden`,`is_deleted`,`is_approved`,`rating`),
KEY `slug` (`slug`),
KEY `date_pub` (`is_pub`,`is_parent_hidden`,`is_deleted`,`is_approved`,`date_pub`,`parent_id`,`rating`) USING BTREE,
KEY `user_id` (`user_id`,`date_pub`,`is_deleted`) USING BTREE,
KEY `dataset_random` (`is_pub`,`is_parent_hidden`,`is_deleted`,`is_approved`,`title`),
KEY `parent_id` (`parent_id`),
FULLTEXT KEY `content` (`title`,`content`)
) ENGINE=MyISAM AUTO_INCREMENT=128905 DEFAULT CHARSET=utf8 AVG_ROW_LENGTH=446