-- MySQL dump 10.13 Distrib 5.5.62, for Linux (x86_64)
-- Host: localhost Database: mage1945
-- ------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Table structure for table `[[dbprefix]]admin_assert`
DROP TABLE IF EXISTS `[[dbprefix]]admin_assert`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]admin_assert` (
`assert_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Assert ID',
`assert_type` varchar(20) DEFAULT NULL COMMENT 'Assert Type',
`assert_data` text COMMENT 'Assert Data',
PRIMARY KEY (`assert_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Admin Assert Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]admin_assert`
LOCK TABLES `[[dbprefix]]admin_assert` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]admin_assert` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]admin_assert` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]admin_role`
DROP TABLE IF EXISTS `[[dbprefix]]admin_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]admin_role` (
`role_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Role ID',
`parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Parent Role ID',
`tree_level` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Role Tree Level',
`sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Role Sort Order',
`role_type` varchar(1) NOT NULL DEFAULT '0' COMMENT 'Role Type',
`user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'User ID',
`role_name` varchar(50) DEFAULT NULL COMMENT 'Role Name',
KEY `IDX_[[DBPREFIX]]ADMIN_ROLE_PARENT_ID_SORT_ORDER` (`parent_id`,`sort_order`),
KEY `IDX_[[DBPREFIX]]ADMIN_ROLE_TREE_LEVEL` (`tree_level`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Admin Role Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]admin_role`
LOCK TABLES `[[dbprefix]]admin_role` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]admin_role` DISABLE KEYS */;
INSERT INTO `[[dbprefix]]admin_role` VALUES (1,0,1,1,'G',0,'Administrators'),(2,1,2,0,'U',1,'[[admin_fname]]');
/*!40000 ALTER TABLE `[[dbprefix]]admin_role` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]admin_rule`
DROP TABLE IF EXISTS `[[dbprefix]]admin_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]admin_rule` (
`rule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule ID',
`role_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Role ID',
`resource_id` varchar(255) DEFAULT NULL COMMENT 'Resource ID',
`privileges` varchar(20) DEFAULT NULL COMMENT 'Privileges',
`assert_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Assert ID',
`role_type` varchar(1) DEFAULT NULL COMMENT 'Role Type',
`permission` varchar(10) DEFAULT NULL COMMENT 'Permission',
KEY `IDX_[[DBPREFIX]]ADMIN_RULE_RESOURCE_ID_ROLE_ID` (`resource_id`,`role_id`),
KEY `IDX_[[DBPREFIX]]ADMIN_RULE_ROLE_ID_RESOURCE_ID` (`role_id`,`resource_id`),
CONSTRAINT `FK_[[DBPREFIX]]ADMIN_RULE_ROLE_ID_[[DBPREFIX]]ADMIN_ROLE_ROLE_ID` FOREIGN KEY (`role_id`) REFERENCES `[[dbprefix]]admin_role` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Admin Rule Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]admin_rule`
LOCK TABLES `[[dbprefix]]admin_rule` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]admin_rule` DISABLE KEYS */;
INSERT INTO `[[dbprefix]]admin_rule` VALUES (1,1,'all',NULL,0,'G','allow');
/*!40000 ALTER TABLE `[[dbprefix]]admin_rule` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]admin_user`
DROP TABLE IF EXISTS `[[dbprefix]]admin_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]admin_user` (
`user_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'User ID',
`firstname` varchar(32) DEFAULT NULL COMMENT 'User First Name',
`lastname` varchar(32) DEFAULT NULL COMMENT 'User Last Name',
`email` varchar(128) DEFAULT NULL COMMENT 'User Email',
`username` varchar(40) DEFAULT NULL COMMENT 'User Login',
`password` varchar(255) DEFAULT NULL COMMENT 'User Password',
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'User Created Time',
`modified` timestamp NULL DEFAULT NULL COMMENT 'User Modified Time',
`logdate` timestamp NULL DEFAULT NULL COMMENT 'User Last Login Time',
`lognum` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'User Login Number',
`reload_acl_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Reload ACL',
`is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'User Is Active',
`extra` text COMMENT 'User Extra Data',
`rp_token` text COMMENT 'Reset Password Link Token',
`rp_token_created_at` timestamp NULL DEFAULT NULL COMMENT 'Reset Password Link Token Creation Date',
UNIQUE KEY `UNQ_[[DBPREFIX]]ADMIN_USER_USERNAME` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Admin User Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]admin_user`
LOCK TABLES `[[dbprefix]]admin_user` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]admin_user` DISABLE KEYS */;
INSERT INTO `[[dbprefix]]admin_user` VALUES (1,'[[admin_fname]]','[[admin_lname]]','[[admin_email]]','[[admin_username]]','[[admin_pass]]','[[regtime]]','[[regtime]]',NULL,0,0,1,'b:0;',NULL,NULL);
/*!40000 ALTER TABLE `[[dbprefix]]admin_user` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]adminnotification_inbox`
DROP TABLE IF EXISTS `[[dbprefix]]adminnotification_inbox`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]adminnotification_inbox` (
`notification_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Notification id',
`severity` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Problem type',
`date_added` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Create date',
`title` varchar(255) NOT NULL COMMENT 'Title',
`description` text COMMENT 'Description',
`url` varchar(255) DEFAULT NULL COMMENT 'Url',
`is_read` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Flag if notification read',
`is_remove` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Flag if notification might be removed',
PRIMARY KEY (`notification_id`),
KEY `IDX_[[DBPREFIX]]ADMINNOTIFICATION_INBOX_SEVERITY` (`severity`),
KEY `IDX_[[DBPREFIX]]ADMINNOTIFICATION_INBOX_IS_READ` (`is_read`),
KEY `IDX_[[DBPREFIX]]ADMINNOTIFICATION_INBOX_IS_REMOVE` (`is_remove`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Adminnotification Inbox';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]adminnotification_inbox`
LOCK TABLES `[[dbprefix]]adminnotification_inbox` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]adminnotification_inbox` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]adminnotification_inbox` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api2_acl_attribute`
DROP TABLE IF EXISTS `[[dbprefix]]api2_acl_attribute`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api2_acl_attribute` (
`entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
`user_type` varchar(20) NOT NULL COMMENT 'Type of user',
`resource_id` varchar(255) NOT NULL COMMENT 'Resource ID',
`operation` varchar(20) NOT NULL COMMENT 'Operation',
`allowed_attributes` text COMMENT 'Allowed attributes',
PRIMARY KEY (`entity_id`),
UNIQUE KEY `UNQ_[[DBPREFIX]][[DBPREFIX]]API2_ACL_ATTRIBUTE_USER_TYPE_RESOURCE_ID_OPERATION` (`user_type`,`resource_id`,`operation`),
KEY `IDX_[[DBPREFIX]]API2_ACL_ATTRIBUTE_USER_TYPE` (`user_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Filter ACL Attributes';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api2_acl_attribute`
LOCK TABLES `[[dbprefix]]api2_acl_attribute` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_attribute` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_attribute` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api2_acl_role`
DROP TABLE IF EXISTS `[[dbprefix]]api2_acl_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api2_acl_role` (
`entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
`updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
`role_name` varchar(255) NOT NULL COMMENT 'Name of role',
PRIMARY KEY (`entity_id`),
KEY `IDX_[[DBPREFIX]]API2_ACL_ROLE_CREATED_AT` (`created_at`),
KEY `IDX_[[DBPREFIX]]API2_ACL_ROLE_UPDATED_AT` (`updated_at`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Roles';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api2_acl_role`
LOCK TABLES `[[dbprefix]]api2_acl_role` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_role` DISABLE KEYS */;
INSERT INTO `[[dbprefix]]api2_acl_role` VALUES (1,'[[regtime]]',NULL,'Guest'),(2,'[[regtime]]',NULL,'Customer');
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_role` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api2_acl_rule`
DROP TABLE IF EXISTS `[[dbprefix]]api2_acl_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api2_acl_rule` (
`entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
`role_id` int(10) unsigned NOT NULL COMMENT 'Role ID',
`resource_id` varchar(255) NOT NULL COMMENT 'Resource ID',
`privilege` varchar(20) DEFAULT NULL COMMENT 'ACL Privilege',
PRIMARY KEY (`entity_id`),
UNIQUE KEY `UNQ_[[DBPREFIX]][[DBPREFIX]]API2_ACL_RULE_ROLE_ID_RESOURCE_ID_PRIVILEGE` (`role_id`,`resource_id`,`privilege`),
CONSTRAINT `FK_[[DBPREFIX]]API2_ACL_RULE_ROLE_ID_[[DBPREFIX]]API2_ACL_ROLE_ENTITY_ID` FOREIGN KEY (`role_id`) REFERENCES `[[dbprefix]]api2_acl_role` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Rules';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api2_acl_rule`
LOCK TABLES `[[dbprefix]]api2_acl_rule` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_rule` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_rule` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api2_acl_user`
DROP TABLE IF EXISTS `[[dbprefix]]api2_acl_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api2_acl_user` (
`admin_id` int(10) unsigned NOT NULL COMMENT 'Admin ID',
`role_id` int(10) unsigned NOT NULL COMMENT 'Role ID',
UNIQUE KEY `UNQ_[[DBPREFIX]][[DBPREFIX]]API2_ACL_USER_ADMIN_ID` (`admin_id`),
KEY `FK_[[DBPREFIX]]API2_ACL_USER_ROLE_ID_[[DBPREFIX]]API2_ACL_ROLE_ENTITY_ID` (`role_id`),
CONSTRAINT `FK_[[DBPREFIX]]API2_ACL_USER_ADMIN_ID_[[DBPREFIX]]ADMIN_USER_USER_ID` FOREIGN KEY (`admin_id`) REFERENCES `[[dbprefix]]admin_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `FK_[[DBPREFIX]]API2_ACL_USER_ROLE_ID_[[DBPREFIX]]API2_ACL_ROLE_ENTITY_ID` FOREIGN KEY (`role_id`) REFERENCES `[[dbprefix]]api2_acl_role` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Users';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api2_acl_user`
LOCK TABLES `[[dbprefix]]api2_acl_user` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api2_acl_user` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api_assert`
DROP TABLE IF EXISTS `[[dbprefix]]api_assert`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api_assert` (
`assert_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Assert id',
`assert_type` varchar(20) DEFAULT NULL COMMENT 'Assert type',
`assert_data` text COMMENT 'Assert additional data',
PRIMARY KEY (`assert_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api ACL Asserts';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api_assert`
LOCK TABLES `[[dbprefix]]api_assert` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api_assert` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api_assert` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api_role`
DROP TABLE IF EXISTS `[[dbprefix]]api_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api_role` (
`role_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Role id',
`parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Parent role id',
`tree_level` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Role level in tree',
`sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort order to display on admin area',
`role_type` varchar(1) NOT NULL DEFAULT '0' COMMENT 'Role type',
`user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
`role_name` varchar(50) DEFAULT NULL COMMENT 'Role name',
KEY `IDX_[[DBPREFIX]]API_ROLE_PARENT_ID_SORT_ORDER` (`parent_id`,`sort_order`),
KEY `IDX_[[DBPREFIX]]API_ROLE_TREE_LEVEL` (`tree_level`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api ACL Roles';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api_role`
LOCK TABLES `[[dbprefix]]api_role` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api_role` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api_role` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api_rule`
DROP TABLE IF EXISTS `[[dbprefix]]api_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api_rule` (
`rule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Api rule Id',
`role_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Api role Id',
`resource_id` varchar(255) DEFAULT NULL COMMENT 'Module code',
`api_privileges` varchar(20) DEFAULT NULL COMMENT 'Privileges',
`assert_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Assert id',
`role_type` varchar(1) DEFAULT NULL COMMENT 'Role type',
`api_permission` varchar(10) DEFAULT NULL COMMENT 'Permission',
KEY `IDX_[[DBPREFIX]]API_RULE_RESOURCE_ID_ROLE_ID` (`resource_id`,`role_id`),
KEY `IDX_[[DBPREFIX]]API_RULE_ROLE_ID_RESOURCE_ID` (`role_id`,`resource_id`),
CONSTRAINT `FK_[[DBPREFIX]]API_RULE_ROLE_ID_[[DBPREFIX]]API_ROLE_ROLE_ID` FOREIGN KEY (`role_id`) REFERENCES `[[dbprefix]]api_role` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api ACL Rules';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api_rule`
LOCK TABLES `[[dbprefix]]api_rule` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api_rule` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api_rule` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api_session`
DROP TABLE IF EXISTS `[[dbprefix]]api_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api_session` (
`user_id` int(10) unsigned NOT NULL COMMENT 'User id',
`logdate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Login date',
`sessid` varchar(40) DEFAULT NULL COMMENT 'Sessioin id',
KEY `IDX_[[DBPREFIX]]API_SESSION_USER_ID` (`user_id`),
KEY `IDX_[[DBPREFIX]]API_SESSION_SESSID` (`sessid`),
CONSTRAINT `FK_[[DBPREFIX]]API_SESSION_USER_ID_[[DBPREFIX]]API_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]api_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api Sessions';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api_session`
LOCK TABLES `[[dbprefix]]api_session` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api_session` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api_session` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]api_user`
DROP TABLE IF EXISTS `[[dbprefix]]api_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]api_user` (
`user_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'User id',
`firstname` varchar(32) DEFAULT NULL COMMENT 'First name',
`lastname` varchar(32) DEFAULT NULL COMMENT 'Last name',
`email` varchar(128) DEFAULT NULL COMMENT 'Email',
`username` varchar(40) DEFAULT NULL COMMENT 'Nickname',
`api_key` varchar(255) DEFAULT NULL COMMENT 'Api key',
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'User record create date',
`modified` timestamp NULL DEFAULT NULL COMMENT 'User record modify date',
`lognum` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Quantity of log ins',
`reload_acl_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Refresh ACL flag',
`is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Account status',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api Users';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]api_user`
LOCK TABLES `[[dbprefix]]api_user` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]api_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]api_user` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]captcha_log`
DROP TABLE IF EXISTS `[[dbprefix]]captcha_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]captcha_log` (
`type` varchar(32) NOT NULL COMMENT 'Type',
`value` varchar(32) NOT NULL COMMENT 'Value',
`count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Count',
`updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
PRIMARY KEY (`type`,`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Count Login Attempts';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]captcha_log`
LOCK TABLES `[[dbprefix]]captcha_log` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]captcha_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]captcha_log` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]catalog_category_anc_categs_index_idx`
DROP TABLE IF EXISTS `[[dbprefix]]catalog_category_anc_categs_index_idx`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]catalog_category_anc_categs_index_idx` (
`category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
`path` varchar(255) DEFAULT NULL COMMENT 'Path',
KEY `IDX_[[DBPREFIX]]CATALOG_CATEGORY_ANC_CATEGS_INDEX_IDX_CATEGORY_ID` (`category_id`),
KEY `IDX_[[DBPREFIX]]CATALOG_CATEGORY_ANC_CATEGS_INDEX_IDX_PATH_CATEGORY_ID` (`path`,`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Indexer Index Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]catalog_category_anc_categs_index_idx`
LOCK TABLES `[[dbprefix]]catalog_category_anc_categs_index_idx` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]catalog_category_anc_categs_index_idx` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]catalog_category_anc_categs_index_idx` ENABLE KEYS */;
-- Table structure for table `[[dbprefix]]catalog_category_anc_categs_index_tmp`
DROP TABLE IF EXISTS `[[dbprefix]]catalog_category_anc_categs_index_tmp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `[[dbprefix]]catalog_category_anc_categs_index_tmp` (
`category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
`path` varchar(255) DEFAULT NULL COMMENT 'Path',
KEY `IDX_[[DBPREFIX]]CATALOG_CATEGORY_ANC_CATEGS_INDEX_TMP_CATEGORY_ID` (`category_id`),
KEY `IDX_[[DBPREFIX]]CATALOG_CATEGORY_ANC_CATEGS_INDEX_TMP_PATH_CATEGORY_ID` (`path`,`category_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Indexer Temp Table';
/*!40101 SET character_set_client = @saved_cs_client */;
-- Dumping data for table `[[dbprefix]]catalog_category_anc_categs_index_tmp`
LOCK TABLES `[[dbprefix]]catalog_category_anc_categs_index_tmp` WRITE;
/*!40000 ALTER TABLE `[[dbprefix]]catalog_category_anc_categs_index_tmp` DISABLE KEYS */;
/*!40000 ALTER TABLE `[[dbprefix]]catalog_category_anc_categs_index_tmp` ENABLE KEYS */;