CREATE TABLE `vm3jo_contentitem_tag_map` ( `type_alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `core_content_id` int(10) unsigned NOT NULL COMMENT 'PK from the core content table', `content_item_id` int(11) NOT NULL COMMENT 'PK from the content type table', `tag_id` int(10) unsigned NOT NULL COMMENT 'PK from the tag table', `tag_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of most recent save for this tag-item', `type_id` mediumint(8) NOT NULL COMMENT 'PK from the content_type table', UNIQUE KEY `uc_ItemnameTagid` (`type_id`,`content_item_id`,`tag_id`), KEY `idx_tag_type` (`tag_id`,`type_id`), KEY `idx_date_id` (`tag_date`,`tag_id`), KEY `idx_core_content_id` (`core_content_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Maps items from content tables to tags'; CREATE TABLE `vm3jo_ucm_content` ( `core_content_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `core_type_alias` varchar(400) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT 'FK to the content types table', `core_title` varchar(400) COLLATE utf8_unicode_ci NOT NULL, `core_alias` varchar(400) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '', `core_body` mediumtext COLLATE utf8_unicode_ci NOT NULL, `core_state` tinyint(1) NOT NULL DEFAULT '0', `core_checked_out_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `core_checked_out_user_id` int(10) unsigned NOT NULL DEFAULT '0', `core_access` int(10) unsigned NOT NULL DEFAULT '0', `core_params` text COLLATE utf8_unicode_ci NOT NULL, `core_featured` tinyint(4) unsigned NOT NULL DEFAULT '0', `core_metadata` varchar(2048) COLLATE utf8_unicode_ci NOT NULL COMMENT 'JSON encoded metadata properties.', `core_created_user_id` int(10) unsigned NOT NULL DEFAULT '0', `core_created_by_alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `core_created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `core_modified_user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Most recent user that modified', `core_modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `core_language` char(7) COLLATE utf8_unicode_ci NOT NULL, `core_publish_up` datetime NOT NULL, `core_publish_down` datetime NOT NULL, `core_content_item_id` int(10) unsigned DEFAULT NULL COMMENT 'ID from the individual type table', `asset_id` int(10) unsigned DEFAULT NULL COMMENT 'FK to the #__assets table.', `core_images` text COLLATE utf8_unicode_ci NOT NULL, `core_urls` text COLLATE utf8_unicode_ci NOT NULL, `core_hits` int(10) unsigned NOT NULL DEFAULT '0', `core_version` int(10) unsigned NOT NULL DEFAULT '1', `core_ordering` int(11) NOT NULL DEFAULT '0', `core_metakey` text COLLATE utf8_unicode_ci NOT NULL, `core_metadesc` text COLLATE utf8_unicode_ci NOT NULL, `core_catid` int(10) unsigned NOT NULL DEFAULT '0', `core_xreference` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT 'A reference to enable linkages to external data sets.', `core_type_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`core_content_id`), KEY `tag_idx` (`core_state`,`core_access`), KEY `idx_access` (`core_access`), KEY `idx_alias` (`core_alias`(100)), KEY `idx_language` (`core_language`), KEY `idx_title` (`core_title`(100)), KEY `idx_modified_time` (`core_modified_time`), KEY `idx_created_time` (`core_created_time`), KEY `idx_content_type` (`core_type_alias`(100)), KEY `idx_core_modified_user_id` (`core_modified_user_id`), KEY `idx_core_checked_out_user_id` (`core_checked_out_user_id`), KEY `idx_core_created_user_id` (`core_created_user_id`), KEY `idx_core_type_id` (`core_type_id`) ) ENGINE=InnoDB AUTO_INCREMENT=817 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Contains core content data in name spaced fields'; CREATE TABLE `vm3jo_content_types` ( `type_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `type_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `type_alias` varchar(400) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `table` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `rules` text COLLATE utf8_unicode_ci NOT NULL, `field_mappings` text COLLATE utf8_unicode_ci NOT NULL, `router` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `content_history_options` varchar(5120) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'JSON string for com_contenthistory options', PRIMARY KEY (`type_id`), KEY `idx_alias` (`type_alias`(100)) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; CREATE TABLE `vm3jo_categories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `asset_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'FK to the #__assets table.', `parent_id` int(10) unsigned NOT NULL DEFAULT '0', `lft` int(11) NOT NULL DEFAULT '0', `rgt` int(11) NOT NULL DEFAULT '0', `level` int(10) unsigned NOT NULL DEFAULT '0', `path` varchar(400) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `extension` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alias` varchar(400) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '', `note` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `description` mediumtext COLLATE utf8_unicode_ci NOT NULL, `published` tinyint(1) NOT NULL DEFAULT '0', `checked_out` int(11) unsigned NOT NULL DEFAULT '0', `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `access` int(10) unsigned NOT NULL DEFAULT '0', `params` text COLLATE utf8_unicode_ci NOT NULL, `metadesc` varchar(1024) COLLATE utf8_unicode_ci NOT NULL COMMENT 'The meta description for the page.', `metakey` varchar(1024) COLLATE utf8_unicode_ci NOT NULL COMMENT 'The meta keywords for the page.', `metadata` varchar(2048) COLLATE utf8_unicode_ci NOT NULL COMMENT 'JSON encoded metadata properties.', `created_user_id` int(10) unsigned NOT NULL DEFAULT '0', `created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `modified_user_id` int(10) unsigned NOT NULL DEFAULT '0', `modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `hits` int(10) unsigned NOT NULL DEFAULT '0', `language` char(7) COLLATE utf8_unicode_ci NOT NULL, `version` int(10) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `cat_idx` (`extension`,`published`,`access`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_path` (`path`(100)), KEY `idx_left_right` (`lft`,`rgt`), KEY `idx_alias` (`alias`(100)), KEY `idx_language` (`language`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; CREATE TABLE `vm3jo_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(400) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `username` varchar(150) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `email` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `password` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `block` tinyint(4) NOT NULL DEFAULT '0', `sendEmail` tinyint(4) DEFAULT '0', `registerDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `lastvisitDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `activation` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `params` text COLLATE utf8_unicode_ci NOT NULL, `lastResetTime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date of last password reset', `resetCount` int(11) NOT NULL DEFAULT '0' COMMENT 'Count of password resets since lastResetTime', `otpKey` varchar(1000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT 'Two factor authentication encrypted keys', `otep` varchar(1000) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT 'One time emergency passwords', `requireReset` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Require user to reset password on next login', PRIMARY KEY (`id`), KEY `idx_name` (`name`(100)), KEY `idx_block` (`block`), KEY `username` (`username`), KEY `email` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=219 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;