-- Softaculous SQL Dump
-- http://www.softaculous.com
--




--
-- Database: `silve147_mage985`
--

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

--
-- Table structure for table`mg_adminnotification_inbox`
--

CREATE TABLE `mg_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 CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP 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_mg_ADMINNOTIFICATION_INBOX_SEVERITY` (`severity`),
  KEY `IDX_mg_ADMINNOTIFICATION_INBOX_IS_READ` (`is_read`),
  KEY `IDX_mg_ADMINNOTIFICATION_INBOX_IS_REMOVE` (`is_remove`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Adminnotification Inbox' AUTO_INCREMENT=73 ;

--
-- Dumping data for table 'mg_adminnotification_inbox'
--

INSERT INTO `mg_adminnotification_inbox` VALUES
(1, 4, '2008-07-25 05:24:40', 'Magento 1.1 Production Version Now Available', 'We are thrilled to announce the availability of the production release of Magento 1.1. Read more about the release in the Magento Blog.', 'http://www.magentocommerce.com/blog/comments/magento-11-is-here-1/', 0, 1),
(2, 4, '2008-08-02 05:30:16', 'Updated iPhone Theme is now available', 'Updated iPhone theme for Magento 1.1 is now available on Magento Connect and for upgrade through your Magento Connect Manager.', 'http://www.magentocommerce.com/blog/comments/updated-iphone-theme-for-magento-11-is-now-available/', 0, 1),
(3, 3, '2008-08-02 05:40:27', 'Magento version 1.1.2 is now available', 'Magento version 1.1.2 is now available for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-version-112-is-now-available/', 0, 1),
(4, 3, '2008-08-13 21:51:46', 'Magento version 1.1.3 is now available', 'Magento version 1.1.3 is now available', 'http://www.magentocommerce.com/blog/comments/magento-version-113-is-now-available/', 0, 1),
(5, 1, '2008-09-03 01:10:31', 'Magento Version 1.1.4 Security Update Now Available', 'Magento 1.1.4 Security Update Now Available. If you are using Magento version 1.1.x, we highly recommend upgrading to this version as soon as possible.', 'http://www.magentocommerce.com/blog/comments/magento-version-114-security-update/', 0, 1),
(6, 3, '2008-09-16 02:09:54', 'Magento version 1.1.5 Now Available', 'Magento version 1.1.5 Now Available.\n\nThis release includes many bug fixes, a new category manager and a new skin for the default Magento theme.', 'http://www.magentocommerce.com/blog/comments/magento-version-115-now-available/', 0, 1),
(7, 3, '2008-09-18 00:18:35', 'Magento version 1.1.6 Now Available', 'Magento version 1.1.6 Now Available.\n\nThis version includes bug fixes for Magento 1.1.x that are listed in the release notes section.', 'http://www.magentocommerce.com/blog/comments/magento-version-116-now-available/', 0, 1),
(8, 4, '2008-11-08 04:46:42', 'Reminder: Change Magento`s default phone numbers and callouts before site launch', 'Before launching your Magento store, please remember to change Magento`s default phone numbers that appear in email templates, callouts, templates, etc.', NULL, 0, 1),
(9, 3, '2008-11-20 06:31:12', 'Magento version 1.1.7 Now Available', 'Magento version 1.1.7 Now Available.\n\nThis version includes over 350 issue resolutions for Magento 1.1.x that are listed in the release notes section, and new functionality that includes:\n\n-Google Website Optimizer integration\n-Google Base integration\n-Scheduled DB logs cleaning option', 'http://www.magentocommerce.com/blog/comments/magento-version-117-now-available/', 0, 1),
(10, 3, '2008-11-27 02:24:50', 'Magento Version 1.1.8 Now Available', 'Magento version 1.1.8 now available.\n\nThis version includes some issue resolutions for Magento 1.1.x that are listed in the release notes section.', 'http://www.magentocommerce.com/blog/comments/magento-version-118-now-available/', 0, 1),
(11, 3, '2008-12-30 12:45:59', 'Magento version 1.2.0 is now available for download and upgrade', 'We are extremely happy to announce the availability of Magento version 1.2.0 for download and upgrade.\n\nThis version includes numerous issue resolutions for Magento version 1.1.x and some highly requested new features such as:\n\n    * Support for Downloadable/Digital Products. \n    * Added Layered Navigation to site search result page.\n    * Improved site search to utilize MySQL fulltext search\n    * Added support for fixed-taxes on product level.\n    * Upgraded Zend Framework to the latest stable version 1.7.2', 'http://www.magentocommerce.com/blog/comments/magento-version-120-is-now-available/', 0, 1),
(12, 2, '2008-12-31 02:59:22', 'Magento version 1.2.0.1 now available', 'Magento version 1.2.0.1 now available.This version includes some issue resolutions for Magento 1.2.x that are listed in the release notes section.', 'http://www.magentocommerce.com/blog/comments/magento-version-1201-available/', 0, 1),
(13, 2, '2009-01-13 01:41:49', 'Magento version 1.2.0.2 now available', 'Magento version 1.2.0.2 is now available for download and upgrade. This version includes an issue resolutions for Magento version 1.2.0.x as listed in the release notes.', 'http://www.magentocommerce.com/blog/comments/magento-version-1202-now-available/', 0, 1),
(14, 3, '2009-01-24 05:25:56', 'Magento version 1.2.0.3 now available', 'Magento version 1.2.0.3 is now available for download and upgrade. This version includes issue resolutions for Magento version 1.2.0.x as listed in the release notes.', 'http://www.magentocommerce.com/blog/comments/magento-version-1203-now-available/', 0, 1),
(15, 3, '2009-02-03 02:57:00', 'Magento version 1.2.1 is now available for download and upgrade', 'We are happy to announce the availability of Magento version 1.2.1 for download and upgrade.\n\nThis version includes some issue resolutions for Magento version 1.2.x. A full list of items included in this release can be found on the release notes page.', 'http://www.magentocommerce.com/blog/comments/magento-version-121-now-available/', 0, 1),
(16, 3, '2009-02-24 05:45:47', 'Magento version 1.2.1.1 now available', 'Magento version 1.2.1.1 now available.This version includes some issue resolutions for Magento 1.2.x that are listed in the release notes section.', 'http://www.magentocommerce.com/blog/comments/magento-version-1211-now-available/', 0, 1),
(17, 3, '2009-02-27 06:39:24', 'CSRF Attack Prevention', 'We have just posted a blog entry about a hypothetical CSRF attack on a Magento admin panel. Please read the post to find out if your Magento installation is at risk at http://www.magentocommerce.com/blog/comments/csrf-vulnerabilities-in-web-application-and-how-to-avoid-them-in-magento/', 'http://www.magentocommerce.com/blog/comments/csrf-vulnerabilities-in-web-application-and-how-to-avoid-them-in-magento/', 0, 1),
(18, 2, '2009-03-04 04:03:58', 'Magento version 1.2.1.2 now available', 'Magento version 1.2.1.2 is now available for download and upgrade.\nThis version includes some updates to improve admin security as described in the release notes page.', 'http://www.magentocommerce.com/blog/comments/magento-version-1212-now-available/', 0, 1),
(19, 3, '2009-03-31 06:22:40', 'Magento version 1.3.0 now available', 'Magento version 1.3.0 is now available for download and upgrade. This version includes numerous issue resolutions for Magento version 1.2.x and new features as described on the release notes page.', 'http://www.magentocommerce.com/blog/comments/magento-version-130-is-now-available/', 0, 1),
(20, 3, '2009-04-18 08:06:02', 'Magento version 1.3.1 now available', 'Magento version 1.3.1 is now available for download and upgrade. This version includes some issue resolutions for Magento version 1.3.x and new features such as Checkout By Amazon and Amazon Flexible Payment. To see a full list of updates please check the release notes page.', 'http://www.magentocommerce.com/blog/comments/magento-version-131-now-available/', 0, 1),
(21, 3, '2009-05-20 02:31:21', 'Magento version 1.3.1.1 now available', 'Magento version 1.3.1.1 is now available for download and upgrade. This version includes some issue resolutions for Magento version 1.3.x and a security update for Magento installations that run on multiple domains or sub-domains. If you are running Magento with multiple domains or sub-domains we highly recommend upgrading to this version.', 'http://www.magentocommerce.com/blog/comments/magento-version-1311-now-available/', 0, 1),
(22, 3, '2009-05-30 02:54:06', 'Magento version 1.3.2 now available', 'This version includes some improvements and issue resolutions for version 1.3.x that are listed on the release notes page. also included is a Beta version of the Compile module.', 'http://www.magentocommerce.com/blog/comments/magento-version-132-now-available/', 0, 1),
(23, 3, '2009-06-01 23:32:52', 'Magento version 1.3.2.1 now available', 'Magento version 1.3.2.1 now available for download and upgrade.\n\nThis release solves an issue for users running Magento with PHP 5.2.0, and changes to index.php to support the new Compiler Module.', 'http://www.magentocommerce.com/blog/comments/magento-version-1321-now-available/', 0, 1),
(24, 3, '2009-07-02 05:21:44', 'Magento version 1.3.2.2 now available', 'Magento version 1.3.2.2 is now available for download and upgrade.\n\nThis release includes issue resolution for Magento version 1.3.x. To see a full list of changes please visit the release notes page http://www.magentocommerce.com/download/release_notes.', 'http://www.magentocommerce.com/blog/comments/magento-version-1322-now-available/', 0, 1),
(25, 3, '2009-07-23 10:48:54', 'Magento version 1.3.2.3 now available', 'Magento version 1.3.2.3 is now available for download and upgrade.\n\nThis release includes issue resolution for Magento version 1.3.x. We recommend to upgrade to this version if PayPal payment modules are in use. To see a full list of changes please visit the release notes page http://www.magentocommerce.com/download/release_notes.', 'http://www.magentocommerce.com/blog/comments/magento-version-1323-now-available/', 0, 1),
(26, 4, '2009-08-28 22:26:28', 'PayPal is updating Payflow Pro and Website Payments Pro (Payflow Edition) UK.', 'If you are using Payflow Pro and/or Website Payments Pro (Payflow Edition) UK.  payment methods, you will need to update the URLâ€˜s in your Magento Administrator Panel in order to process transactions after September 1, 2009. Full details are available here: http://www.magentocommerce.com/wiki/paypal_payflow_changes', 'http://www.magentocommerce.com/wiki/paypal_payflow_changes', 0, 1),
(27, 2, '2009-09-24 00:16:49', 'Magento Version 1.3.2.4 Security Update', 'Magento Version 1.3.2.4 is now available. This version includes a security updates for Magento 1.3.x that solves possible XSS vulnerability issue on customer registration page and is available through SVN, Download Page and through the Magento Connect Manager.', 'http://www.magentocommerce.com/blog/comments/magento-version-1324-security-update/', 0, 1),
(28, 4, '2009-09-25 18:57:54', 'Magento Preview Version 1.4.0.0-alpha2 is now available', 'We are happy to announce the availability of Magento Preview Version 1.4.0.0-alpha2 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1400-alpha2-now-available/', 0, 1),
(29, 4, '2009-10-07 04:55:40', 'Magento Preview Version 1.4.0.0-alpha3 is now available', 'We are happy to announce the availability of Magento Preview Version 1.4.0.0-alpha3 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1400-alpha3-now-available/', 0, 1),
(30, 4, '2009-12-09 04:30:36', 'Magento Preview Version 1.4.0.0-beta1 is now available', 'We are happy to announce the availability of Magento Preview Version 1.4.0.0-beta1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1400-beta1-now-available/', 0, 1),
(31, 4, '2009-12-31 14:22:12', 'Magento Preview Version 1.4.0.0-rc1 is now available', 'We are happy to announce the availability of Magento Preview Version 1.4.0.0-rc1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1400-rc1-now-available/', 0, 1),
(32, 4, '2010-02-13 08:39:53', 'Magento CE Version 1.4.0.0 Stable is now available', 'We are excited to announce the availability of Magento CE Version 1.4.0.0 Stable for upgrade and download.', 'http://bit.ly/c53rpK', 0, 1),
(33, 3, '2010-02-20 07:39:36', 'Magento CE Version 1.4.0.1 Stable is now available', 'Magento CE 1.4.0.1 Stable is now available for upgrade and download.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1401-stable-now-available/', 0, 1),
(34, 4, '2010-04-24 00:09:03', 'Magento Version CE 1.3.3.0 Stable - Now Available With Support for 3-D Secure', 'Based on community requests, we are excited to announce the release of Magento CE 1.3.3.0-Stable with support for 3-D Secure. This release is intended for Magento merchants using version 1.3.x, who want to add support for 3-D Secure.', 'http://www.magentocommerce.com/blog/comments/magento-version-ce-1330-stable-now-available-with-support-for-3-d-secure/', 0, 1),
(35, 4, '2010-05-31 21:20:21', 'Announcing the Launch of Magento Mobile', 'The Magento team is pleased to announce the launch of Magento mobile, a new product that will allow Magento merchants to easily create branded, native mobile storefront applications that are deeply integrated with Magentoâ€™s market-leading eCommerce platform. The product includes a new administrative manager, a native iPhone app that is fully customizable, and a service where Magento manages the submission and maintenance process for the iTunes App Store.\n\nLearn more by visiting the Magento mobile product page and sign-up to be the first to launch a native mobile commerce app, fully integrated with Magento.', 'http://www.magentocommerce.com/product/mobile', 0, 1),
(36, 4, '2010-06-11 00:08:08', 'Magento CE Version 1.4.1.0 Stable is now available', 'We are excited to announce the availability of Magento CE Version 1.4.1.0 Stable for upgrade and download. Some of the highlights of this release include: Enhanced PayPal integration (more info to follow), Change of Database structure of the Sales module to no longer use EAV, and much more.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1410-stable-now-available/', 0, 1),
(37, 4, '2010-07-27 01:37:34', 'Magento CE Version 1.4.1.1 Stable is now available', 'We are excited to announce the availability of Magento CE Version 1.4.1.1 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1411-stable-now-available/', 0, 1),
(38, 4, '2010-07-28 09:12:12', 'Magento CE Version 1.4.2.0-beta1 Preview Release Now Available', 'This release gives a preview of the new Magento Connect Manager.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1420-beta1-now-available/', 0, 1),
(39, 4, '2010-07-29 00:15:01', 'Magento CE Version 1.4.1.1 Patch Available', 'As some users experienced issues with upgrading to CE 1.4.1.1 through PEAR channels we provided a patch for it that is available on our blog http://www.magentocommerce.com/blog/comments/magento-ce-version-1411-stable-patch/', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1411-stable-patch/', 0, 1),
(40, 4, '2010-10-12 04:13:25', 'Magento Mobile is now live!', 'Magento Mobile is now live! Signup today to have your own native iPhone mobile-shopping app in iTunes for the holiday season! Learn more at http://www.magentomobile.com/', 'http://www.magentomobile.com/', 0, 1),
(41, 4, '2010-11-09 02:52:06', 'Magento CE Version 1.4.2.0-RC1 Preview Release Now Available', 'We are happy to announce the availability of Magento Preview Version 1.4.2.0-RC1 for download.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1420-rc1-now-available/', 0, 1),
(42, 4, '2010-12-03 01:33:00', 'Magento CE Version 1.4.2.0-RC2 Preview Release Now Available', 'We are happy to announce the availability of Magento Preview Version 1.4.2.0-RC2 for download.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-1420-rc2-now-available/', 0, 1),
(43, 4, '2010-12-09 03:29:55', 'Magento CE Version 1.4.2.0 Stable is now available', 'We are excited to announce the availability of Magento CE Version 1.4.2.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1420-stable-now-available/', 0, 1),
(44, 4, '2010-12-18 04:23:55', 'Magento Preview Version CE 1.5.0.0-alpha1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-alpha1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-alpha1-now-available/', 0, 1),
(45, 4, '2010-12-30 04:51:08', 'Magento Preview Version CE 1.5.0.0-alpha2 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-alpha2 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-alpha2-now-available/', 0, 1),
(46, 4, '2011-01-14 05:35:36', 'Magento Preview Version CE 1.5.0.0-beta1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-beta1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-beta1-now-available/', 0, 1),
(47, 4, '2011-01-22 02:19:09', 'Magento Preview Version CE 1.5.0.0-beta2 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-beta2 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-beta2-now-available/', 0, 1),
(48, 4, '2011-01-28 02:27:57', 'Magento Preview Version CE 1.5.0.0-rc1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-rc1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-rc1-now-available/', 0, 1),
(49, 4, '2011-02-04 02:56:33', 'Magento Preview Version CE 1.5.0.0-rc2 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.0.0-rc2 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1500-rc2-now-available/', 0, 1),
(50, 4, '2011-02-09 00:43:23', 'Magento CE Version 1.5.0.0 Stable is now available', 'We are excited to announce the availability of Magento CE Version 1.5.0.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-community-professional-and-enterprise-editions-releases-now-availab/', 0, 1),
(51, 4, '2011-02-10 04:42:57', 'Magento CE 1.5.0.1 stable Now Available', 'We are excited to announce the availability of Magento CE Version 1.5.0.1 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-1501-stable-now-available/', 0, 1),
(52, 4, '2011-03-19 00:15:45', 'Magento CE 1.5.1.0-beta1 Now Available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.1.0-beta1 for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1510-beta1-now-available/', 0, 1),
(53, 4, '2011-03-31 22:43:02', 'Magento CE 1.5.1.0-rc1 Now Available', 'We are happy to announce the availability of Magento Preview Version CE 1.5.1.0-rc1 for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1510-rc1-now-available/', 0, 1),
(54, 4, '2011-04-26 23:21:07', 'Magento CE 1.5.1.0-stable Now Available', 'We are excited to announce the availability of Magento CE Version 1.5.1.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1510-stable-now-available/', 0, 1),
(55, 4, '2011-05-26 23:33:23', 'Magento Preview Version CE 1.6.0.0-alpha1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.0.0-alpha1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1600-alpha1-now-available/', 0, 1),
(56, 4, '2011-06-15 22:12:08', 'Magento Preview Version CE 1.6.0.0-beta1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.0.0-beta1for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1600-beta1-now-available/', 0, 1),
(57, 4, '2011-06-30 23:03:58', 'Magento Preview Version CE 1.6.0.0-rc1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.0.0-rc1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1600-rc1-now-available/', 0, 1),
(58, 4, '2011-07-11 23:07:39', 'Magento Preview Version CE 1.6.0.0-rc2 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.0.0-rc2 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1600-rc2-now-available/', 0, 1),
(59, 4, '2011-08-19 21:58:31', 'Magento CE 1.6.0.0-stable Now Available', 'We are excited to announce the availability of Magento CE Version 1.6.0.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1600-stable-now-available/', 0, 1),
(60, 4, '2011-09-17 05:31:26', 'Magento Preview Version CE 1.6.1.0-beta1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.1.0-beta1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1610-beta1-now-available/', 0, 1),
(61, 4, '2011-09-29 19:44:10', 'Magento Preview Version CE 1.6.1.0-rc1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.6.1.0-rc1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1610-rc1-now-available/', 0, 1),
(62, 4, '2011-10-19 21:50:05', 'Magento CE 1.6.1.0-stable Now Available', 'We are excited to announce the availability of Magento CE Version 1.6.1.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1610-stable-now-available/', 0, 1),
(63, 4, '2011-12-30 22:39:35', 'Magento Preview Version CE 1.7.0.0-alpha1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.7.0.0-alpha1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1700-alpha1-now-available/', 0, 1),
(64, 4, '2012-01-11 22:24:20', 'Magento CE 1.6.2.0-stable Now Available', 'We are excited to announce the availability of Magento CE Version 1.6.2.0 Stable for download and upgrade.', 'http://www.magentocommerce.com/blog/comments/magento-ce-version-1620-stable-now-available/', 0, 1),
(65, 4, '2012-03-03 00:54:12', 'Magento Preview Version CE 1.7.0.0-beta1 is now available', 'We are happy to announce the availability of Magento Preview Version CE 1.7.0.0-beta1 for download.\nAs this is a preview version it is NOT recommended in any way to be used in a production environment.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1700-beta1-now-available/', 0, 1),
(66, 4, '2012-04-23 14:02:40', 'Magento Community Preview Version CE 1.7.0.0-RC1 has been released!', 'Learn more about the exciting new features and updates in this release and how you can take it for a test drive. As this is a preview version, we need to stress that it''s likely unstable and that we DON''T recommend that you use it in any production environment just yet.', 'http://www.magentocommerce.com/blog/comments/magento-preview-version-ce-1700-rc1-now-available/', 0, 1),
(67, 4, '2012-05-11 09:46:54', 'Magento Community 1.7 and Magento Enterprise 1.12 now available!', 'Learn more about the exciting new features and updates in these releases.', 'http://www.magentocommerce.com/blog/comments/magento-enterprise-112-and-community-17-now-available/', 0, 1),
(68, 4, '2012-06-20 18:54:07', 'Magento Community Edition 1.7.0.1 now available! ', 'We have just released an updated version of Magento Community Edition, version 1.7.0.1. This update delivers new, minor functionality and fixes for some potential security vulnerabilities.', 'http://www.magentocommerce.com/blog/comments/magento-community-edition-1701-released/', 0, 1),
(69, 4, '2012-07-05 19:21:43', 'Important Security Update - Zend Platform Vulnerability', 'We have recently learned of a serious vulnerability in the Zend platform on which Magento is built. Learn more and access a patch that addresses this issue. ', 'http://www.magentocommerce.com/blog/comments/important-security-update-zend-platform-vulnerability/', 0, 1),
(70, 4, '2012-11-19 20:27:42', 'Wrap up more holiday sales with financing', 'Give your customers up to 6 months financing. You get paid right away with Bill Me Later, a PayPal service. It’s a great way to extend financing in time for the holidays. Learn More.', 'http://www.magentocommerce.com/paypal/billmelater?utm_source=CEMessaging&utm_medium=copy&utm_content=sixmonths&utm_campaign=BML', 0, 0),
(71, 4, '2012-12-07 11:22:30', 'Increase Your Sales With PayPal', 'Magento merchants using PayPal Express Checkout can help increase their sales on average 18%. It is one simple thing you can do right now to help boost your sales. Learn more.', 'http://www.magentocommerce.com/add-paypal?utm_source=CEModule&utm_medium=copy&utm_content=18&utm_campaign=choosepaypal', 0, 0),
(72, 4, '2013-01-15 22:02:07', 'Imagine 2013 Registration is Now Open!', 'Join 1500 merchants, partners, developers and enthusiasts from 35+ countries around the world for Magento’s premier global conference! Collaborate, learn, network and get inspired by the future of eCommerce. Tickets will sell out fast! April 8th – 10th in Las Vegas.', 'https://registration.imagineecommerce.com/', 0, 1);

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

--
-- Table structure for table`mg_admin_assert`
--

CREATE TABLE `mg_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' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_admin_role`
--

CREATE TABLE `mg_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',
  PRIMARY KEY (`role_id`),
  KEY `IDX_mg_ADMIN_ROLE_PARENT_ID_SORT_ORDER` (`parent_id`,`sort_order`),
  KEY `IDX_mg_ADMIN_ROLE_TREE_LEVEL` (`tree_level`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Admin Role Table' AUTO_INCREMENT=3 ;

--
-- Dumping data for table 'mg_admin_role'
--

INSERT INTO `mg_admin_role` VALUES
(1, 0, 1, 1, 'G', 0, 'Administrators'),
(2, 1, 2, 0, 'U', 1, 'System');

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

--
-- Table structure for table`mg_admin_rule`
--

CREATE TABLE `mg_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',
  PRIMARY KEY (`rule_id`),
  KEY `IDX_mg_ADMIN_RULE_RESOURCE_ID_ROLE_ID` (`resource_id`,`role_id`),
  KEY `IDX_mg_ADMIN_RULE_ROLE_ID_RESOURCE_ID` (`role_id`,`resource_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Admin Rule Table' AUTO_INCREMENT=2 ;

--
-- Dumping data for table 'mg_admin_rule'
--

INSERT INTO `mg_admin_rule` VALUES
(1, 1, 'all', NULL, 0, 'G', 'allow');

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

--
-- Table structure for table`mg_api2_acl_attribute`
--

CREATE TABLE `mg_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_mg_mg_API2_ACL_ATTR_USR_TYPE_RES_ID_OPERATION` (`user_type`,`resource_id`,`operation`),
  KEY `IDX_mg_API2_ACL_ATTRIBUTE_USER_TYPE` (`user_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Filter ACL Attributes' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_api2_acl_role`
--

CREATE TABLE `mg_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_mg_API2_ACL_ROLE_CREATED_AT` (`created_at`),
  KEY `IDX_mg_API2_ACL_ROLE_UPDATED_AT` (`updated_at`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Roles' AUTO_INCREMENT=3 ;

--
-- Dumping data for table 'mg_api2_acl_role'
--

INSERT INTO `mg_api2_acl_role` VALUES
(1, '2013-01-24 12:06:24', NULL, 'Guest'),
(2, '2013-01-24 12:06:24', NULL, 'Customer');

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

--
-- Table structure for table`mg_api2_acl_rule`
--

CREATE TABLE `mg_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_mg_mg_API2_ACL_RULE_ROLE_ID_RESOURCE_ID_PRIVILEGE` (`role_id`,`resource_id`,`privilege`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Rules' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_api2_acl_user`
--

CREATE TABLE `mg_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_mg_mg_API2_ACL_USER_ADMIN_ID` (`admin_id`),
  KEY `FK_mg_API2_ACL_USER_ROLE_ID_mg_API2_ACL_ROLE_ENTITY_ID` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api2 Global ACL Users';

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

--
-- Table structure for table`mg_api_assert`
--

CREATE TABLE `mg_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' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_api_role`
--

CREATE TABLE `mg_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',
  PRIMARY KEY (`role_id`),
  KEY `IDX_mg_API_ROLE_PARENT_ID_SORT_ORDER` (`parent_id`,`sort_order`),
  KEY `IDX_mg_API_ROLE_TREE_LEVEL` (`tree_level`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api ACL Roles' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_api_rule`
--

CREATE TABLE `mg_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',
  PRIMARY KEY (`rule_id`),
  KEY `IDX_mg_API_RULE_RESOURCE_ID_ROLE_ID` (`resource_id`,`role_id`),
  KEY `IDX_mg_API_RULE_ROLE_ID_RESOURCE_ID` (`role_id`,`resource_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api ACL Rules' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_api_session`
--

CREATE TABLE `mg_api_session` (
  `user_id` int(10) unsigned NOT NULL COMMENT 'User id',
  `logdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Login date',
  `sessid` varchar(40) DEFAULT NULL COMMENT 'Sessioin id',
  KEY `IDX_mg_API_SESSION_USER_ID` (`user_id`),
  KEY `IDX_mg_API_SESSION_SESSID` (`sessid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api Sessions';

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

--
-- Table structure for table`mg_api_user`
--

CREATE TABLE `mg_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(40) DEFAULT NULL COMMENT 'Api key',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP 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',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Api Users' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_captcha_log`
--

CREATE TABLE `mg_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';

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

--
-- Table structure for table`mg_cataloginventory_stock`
--

CREATE TABLE `mg_cataloginventory_stock` (
  `stock_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Stock Id',
  `stock_name` varchar(255) DEFAULT NULL COMMENT 'Stock Name',
  PRIMARY KEY (`stock_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Cataloginventory Stock' AUTO_INCREMENT=2 ;

--
-- Dumping data for table 'mg_cataloginventory_stock'
--

INSERT INTO `mg_cataloginventory_stock` VALUES
(1, 'Default');

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

--
-- Table structure for table`mg_cataloginventory_stock_item`
--

CREATE TABLE `mg_cataloginventory_stock_item` (
  `item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Item Id',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Id',
  `stock_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Stock Id',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `min_qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Min Qty',
  `use_config_min_qty` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Min Qty',
  `is_qty_decimal` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Qty Decimal',
  `backorders` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Backorders',
  `use_config_backorders` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Backorders',
  `min_sale_qty` decimal(12,4) NOT NULL DEFAULT '1.0000' COMMENT 'Min Sale Qty',
  `use_config_min_sale_qty` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Min Sale Qty',
  `max_sale_qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Max Sale Qty',
  `use_config_max_sale_qty` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Max Sale Qty',
  `is_in_stock` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is In Stock',
  `low_stock_date` timestamp NULL DEFAULT NULL COMMENT 'Low Stock Date',
  `notify_stock_qty` decimal(12,4) DEFAULT NULL COMMENT 'Notify Stock Qty',
  `use_config_notify_stock_qty` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Notify Stock Qty',
  `manage_stock` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Manage Stock',
  `use_config_manage_stock` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Manage Stock',
  `stock_status_changed_auto` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Stock Status Changed Automatically',
  `use_config_qty_increments` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Qty Increments',
  `qty_increments` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty Increments',
  `use_config_enable_qty_inc` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Use Config Enable Qty Increments',
  `enable_qty_increments` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Enable Qty Increments',
  `is_decimal_divided` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Divided into Multiple Boxes for Shipping',
  PRIMARY KEY (`item_id`),
  UNIQUE KEY `UNQ_mg_CATALOGINVENTORY_STOCK_ITEM_PRODUCT_ID_STOCK_ID` (`product_id`,`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_ITEM_PRODUCT_ID` (`product_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_ITEM_STOCK_ID` (`stock_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Cataloginventory Stock Item' AUTO_INCREMENT=24 ;

--
-- Dumping data for table 'mg_cataloginventory_stock_item'
--

INSERT INTO `mg_cataloginventory_stock_item` VALUES
(1, 1, 1, 5.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(2, 2, 1, 10.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(3, 3, 1, 10.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(4, 4, 1, 3.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(5, 5, 1, 1.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(6, 6, 1, 7.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(7, 7, 1, 50.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(8, 8, 1, 200.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(9, 9, 1, 100.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(10, 10, 1, 6.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(11, 11, 1, 200.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(12, 12, 1, 2.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(13, 13, 1, 30.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(14, 14, 1, 20.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(15, 15, 1, 50.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(16, 16, 1, 60.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(17, 17, 1, 30.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(18, 18, 1, 25.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(19, 19, 1, 1.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(20, 20, 1, 7.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(21, 21, 1, 8.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(22, 22, 1, 70.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0),
(23, 23, 1, 4.0000, 0.0000, 1, 0, 0, 1, 1.0000, 1, 0.0000, 1, 1, NULL, NULL, 1, 0, 1, 0, 1, 0.0000, 1, 0, 0);

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

--
-- Table structure for table`mg_cataloginventory_stock_status`
--

CREATE TABLE `mg_cataloginventory_stock_status` (
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `stock_id` smallint(5) unsigned NOT NULL COMMENT 'Stock Id',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `stock_status` smallint(5) unsigned NOT NULL COMMENT 'Stock Status',
  PRIMARY KEY (`product_id`,`website_id`,`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_STOCK_ID` (`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cataloginventory Stock Status';

--
-- Dumping data for table 'mg_cataloginventory_stock_status'
--

INSERT INTO `mg_cataloginventory_stock_status` VALUES
(1, 1, 1, 5.0000, 1),
(2, 1, 1, 10.0000, 1),
(3, 1, 1, 10.0000, 1),
(4, 1, 1, 3.0000, 1),
(5, 1, 1, 1.0000, 1),
(6, 1, 1, 7.0000, 1),
(7, 1, 1, 50.0000, 1),
(8, 1, 1, 200.0000, 1),
(9, 1, 1, 100.0000, 1),
(10, 1, 1, 6.0000, 1),
(11, 1, 1, 200.0000, 1),
(12, 1, 1, 2.0000, 1),
(13, 1, 1, 30.0000, 1),
(14, 1, 1, 20.0000, 1),
(15, 1, 1, 50.0000, 1),
(16, 1, 1, 60.0000, 1),
(17, 1, 1, 30.0000, 1),
(18, 1, 1, 25.0000, 1),
(19, 1, 1, 1.0000, 1),
(20, 1, 1, 7.0000, 1),
(21, 1, 1, 8.0000, 1),
(22, 1, 1, 70.0000, 1),
(23, 1, 1, 4.0000, 1);

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

--
-- Table structure for table`mg_cataloginventory_stock_status_idx`
--

CREATE TABLE `mg_cataloginventory_stock_status_idx` (
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `stock_id` smallint(5) unsigned NOT NULL COMMENT 'Stock Id',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `stock_status` smallint(5) unsigned NOT NULL COMMENT 'Stock Status',
  PRIMARY KEY (`product_id`,`website_id`,`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_IDX_STOCK_ID` (`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_IDX_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cataloginventory Stock Status Indexer Idx';

--
-- Dumping data for table 'mg_cataloginventory_stock_status_idx'
--

INSERT INTO `mg_cataloginventory_stock_status_idx` VALUES
(1, 1, 1, 0.0000, 0);

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

--
-- Table structure for table`mg_cataloginventory_stock_status_tmp`
--

CREATE TABLE `mg_cataloginventory_stock_status_tmp` (
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `stock_id` smallint(5) unsigned NOT NULL COMMENT 'Stock Id',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `stock_status` smallint(5) unsigned NOT NULL COMMENT 'Stock Status',
  PRIMARY KEY (`product_id`,`website_id`,`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_TMP_STOCK_ID` (`stock_id`),
  KEY `IDX_mg_CATALOGINVENTORY_STOCK_STATUS_TMP_WEBSITE_ID` (`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Cataloginventory Stock Status Indexer Tmp';

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

--
-- Table structure for table`mg_catalogrule`
--

CREATE TABLE `mg_catalogrule` (
  `rule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `description` text COMMENT 'Description',
  `from_date` date DEFAULT NULL COMMENT 'From Date',
  `to_date` date DEFAULT NULL COMMENT 'To Date',
  `is_active` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Active',
  `conditions_serialized` mediumtext COMMENT 'Conditions Serialized',
  `actions_serialized` mediumtext COMMENT 'Actions Serialized',
  `stop_rules_processing` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Stop Rules Processing',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `simple_action` varchar(32) DEFAULT NULL COMMENT 'Simple Action',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `sub_is_enable` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Rule Enable For Subitems',
  `sub_simple_action` varchar(32) DEFAULT NULL COMMENT 'Simple Action For Subitems',
  `sub_discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount For Subitems',
  PRIMARY KEY (`rule_id`),
  KEY `IDX_mg_CATALOGRULE_IS_ACTIVE_SORT_ORDER_TO_DATE_FROM_DATE` (`is_active`,`sort_order`,`to_date`,`from_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CatalogRule' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalogrule_affected_product`
--

CREATE TABLE `mg_catalogrule_affected_product` (
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  PRIMARY KEY (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CatalogRule Affected Product';

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

--
-- Table structure for table`mg_catalogrule_customer_group`
--

CREATE TABLE `mg_catalogrule_customer_group` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  PRIMARY KEY (`rule_id`,`customer_group_id`),
  KEY `IDX_mg_CATALOGRULE_CUSTOMER_GROUP_RULE_ID` (`rule_id`),
  KEY `IDX_mg_CATALOGRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID` (`customer_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Rules To Customer Groups Relations';

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

--
-- Table structure for table`mg_catalogrule_group_website`
--

CREATE TABLE `mg_catalogrule_group_website` (
  `rule_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Rule Id',
  `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website Id',
  PRIMARY KEY (`rule_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOGRULE_GROUP_WEBSITE_RULE_ID` (`rule_id`),
  KEY `IDX_mg_CATALOGRULE_GROUP_WEBSITE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOGRULE_GROUP_WEBSITE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CatalogRule Group Website';

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

--
-- Table structure for table`mg_catalogrule_product`
--

CREATE TABLE `mg_catalogrule_product` (
  `rule_product_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule Product Id',
  `rule_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Rule Id',
  `from_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'From Time',
  `to_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'To time',
  `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group Id',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Id',
  `action_operator` varchar(10) DEFAULT 'to_fixed' COMMENT 'Action Operator',
  `action_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Action Amount',
  `action_stop` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Action Stop',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `sub_simple_action` varchar(32) DEFAULT NULL COMMENT 'Simple Action For Subitems',
  `sub_discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount For Subitems',
  PRIMARY KEY (`rule_product_id`),
  UNIQUE KEY `D99F142F8027834901F4B3CC7B18BA89` (`rule_id`,`from_time`,`to_time`,`website_id`,`customer_group_id`,`product_id`,`sort_order`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_RULE_ID` (`rule_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_FROM_TIME` (`from_time`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_TO_TIME` (`to_time`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CatalogRule Product' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalogrule_product_price`
--

CREATE TABLE `mg_catalogrule_product_price` (
  `rule_product_price_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule Product PriceId',
  `rule_date` date NOT NULL COMMENT 'Rule Date',
  `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group Id',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Id',
  `rule_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Rule Price',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `latest_start_date` date DEFAULT NULL COMMENT 'Latest StartDate',
  `earliest_end_date` date DEFAULT NULL COMMENT 'Earliest EndDate',
  PRIMARY KEY (`rule_product_price_id`),
  UNIQUE KEY `UNQ_mg_CATRULE_PRD_PRICE_RULE_DATE_WS_ID_CSTR_GROUP_ID_PRD_ID` (`rule_date`,`website_id`,`customer_group_id`,`product_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_PRICE_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOGRULE_PRODUCT_PRICE_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CatalogRule Product Price' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalogrule_website`
--

CREATE TABLE `mg_catalogrule_website` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  PRIMARY KEY (`rule_id`,`website_id`),
  KEY `IDX_mg_CATALOGRULE_WEBSITE_RULE_ID` (`rule_id`),
  KEY `IDX_mg_CATALOGRULE_WEBSITE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Rules To Websites Relations';

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

--
-- Table structure for table`mg_catalogsearch_fulltext`
--

CREATE TABLE `mg_catalogsearch_fulltext` (
  `fulltext_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `data_index` longtext COMMENT 'Data index',
  PRIMARY KEY (`fulltext_id`),
  UNIQUE KEY `UNQ_mg_CATALOGSEARCH_FULLTEXT_PRODUCT_ID_STORE_ID` (`product_id`,`store_id`),
  FULLTEXT KEY `FTI_mg_CATALOGSEARCH_FULLTEXT_DATA_INDEX` (`data_index`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='Catalog search result table' AUTO_INCREMENT=42 ;

--
-- Dumping data for table 'mg_catalogsearch_fulltext'
--

INSERT INTO `mg_catalogsearch_fulltext` VALUES
(18, 2, 1, 'A0000001|Enabled|Taxable Goods|Lighting Bulbs|Lighting with passion. Enlighten your world with the warmth of sun-esque beams.|Magic Lighting Bulbs|15|1'),
(17, 3, 1, 'A0000002|Enabled|Shipping|Carpets|Unbelievable soft carpets from the outer space|Magic Carpets|145|1'),
(19, 4, 1, 'A0000003|Enabled|Shipping|Paper Elephant|Marvelous paper elephant with healing effects|Paper Elephant|300|1'),
(21, 5, 1, 'A0000004|Enabled|Shipping|Ivory Necklace|Necklace made of acient mammoth ivory.|Mammoth Ivory Necklace|1000|1'),
(22, 6, 1, 'A0000005|Enabled|Shipping|Environmental Friendly Shopping Bag|It''s not a plastic bag! It''s an environmental friendly shopping bag.|Eco-friendly Bag|25|1'),
(23, 7, 1, 'A0000007|Enabled|Shipping|Living Room Art|Decoration signs for a vibe living room|Decoration Signs|35|1'),
(24, 8, 1, 'A0000008|Enabled|Taxable Goods|Sticky Notes|The most innovative Post-it in modern history|Sticky Notes|10|1'),
(25, 9, 1, 'A0000009|Enabled|Taxable Goods|Wool Socks|Artist inspired wool socks|Wool Socks|17.5|1'),
(26, 10, 1, 'A0000010|Enabled|Shipping|Water Tank|Crystal clear water tank for all ocean creatures|Water Tank|50|1'),
(27, 11, 1, 'G0000001|Enabled|Shipping|Digital Photo Frame|Revive your deepest memories. The one and only digital photo frame.|Digital Photo Frame|20|1'),
(28, 12, 1, 'G0000002|Enabled|Shipping|Typewriter|The beginning of modern communications.|Typewriter|1300|1'),
(29, 13, 1, 'H0000001|Enabled|Shipping|Bench|Ergonomic bench designed by reputed modern sitting-chair pioneer.|Bench|350|1'),
(30, 14, 1, 'H0000002|Enabled|Taxable Goods|Bookshelf|The most solid bookshelf on earth|Bookshelf|75|1'),
(32, 15, 1, 'H0000003|Enabled|Taxable Goods|Clock|Tic-tac|Clock|110|1'),
(33, 16, 1, 'H0000004|Enabled|Shipping|Metal Chair|Heavy-duty chairs|Metal Chair|65|1'),
(34, 17, 1, 'H0000005|Enabled|Shipping|Decor Lamp|Moden lamp for living room|Living Room Lamp|120|1'),
(35, 18, 1, 'H0000006|Enabled|Shipping|Artistic Lamp|Beautiful-rendered hollow lamp|Hollow Lamp|55|1'),
(36, 19, 1, 'H0000007|Enabled|Shipping|Living Room Set|Furniture set for living room|Living Room Set|2250|1'),
(41, 20, 1, 'H0000008|Enabled|Shipping|Feng Shui Screen|Innovative screen inspired by traditional Chinese home decor|Feng Shui Screen|800|1'),
(38, 21, 1, 'H0000009|Enabled|Taxable Goods|Kitchen Stand|Stainless-steel kitchen stand|Kitchen Stand|30|1'),
(39, 22, 1, 'H0000010|Enabled|Taxable Goods|Classic Chair|Retrospective chairs|Classic Chair|23|1'),
(40, 23, 1, 'H0000011|Enabled|Shipping|Office Cabinet|Colorful cabinet for office|Office Cabinet|110|1');

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

--
-- Table structure for table`mg_catalogsearch_query`
--

CREATE TABLE `mg_catalogsearch_query` (
  `query_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Query ID',
  `query_text` varchar(255) DEFAULT NULL COMMENT 'Query text',
  `num_results` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Num results',
  `popularity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Popularity',
  `redirect` varchar(255) DEFAULT NULL COMMENT 'Redirect',
  `synonym_for` varchar(255) DEFAULT NULL COMMENT 'Synonym for',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `display_in_terms` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Display in terms',
  `is_active` smallint(6) DEFAULT '1' COMMENT 'Active status',
  `is_processed` smallint(6) DEFAULT '0' COMMENT 'Processed status',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated at',
  PRIMARY KEY (`query_id`),
  KEY `IDX_mg_CATALOGSEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY` (`query_text`,`store_id`,`popularity`),
  KEY `IDX_mg_CATALOGSEARCH_QUERY_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog search query table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalogsearch_result`
--

CREATE TABLE `mg_catalogsearch_result` (
  `query_id` int(10) unsigned NOT NULL COMMENT 'Query ID',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `relevance` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Relevance',
  PRIMARY KEY (`query_id`,`product_id`),
  KEY `IDX_mg_CATALOGSEARCH_RESULT_QUERY_ID` (`query_id`),
  KEY `IDX_mg_CATALOGSEARCH_RESULT_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog search result table';

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

--
-- Table structure for table`mg_catalog_category_anc_categs_index_idx`
--

CREATE TABLE `mg_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_mg_CATALOG_CATEGORY_ANC_CATEGS_INDEX_IDX_CATEGORY_ID` (`category_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ANC_CATEGS_INDEX_IDX_PATH_CATEGORY_ID` (`path`,`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_category_anc_categs_index_tmp`
--

CREATE TABLE `mg_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_mg_CATALOG_CATEGORY_ANC_CATEGS_INDEX_TMP_CATEGORY_ID` (`category_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ANC_CATEGS_INDEX_TMP_PATH_CATEGORY_ID` (`path`,`category_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Indexer Temp Table';

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

--
-- Table structure for table`mg_catalog_category_anc_products_index_idx`
--

CREATE TABLE `mg_catalog_category_anc_products_index_idx` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(10) unsigned DEFAULT NULL COMMENT 'Position',
  KEY `IDX_mg_CAT_CTGR_ANC_PRDS_IDX_IDX_CTGR_ID_PRD_ID_POSITION` (`category_id`,`product_id`,`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Product Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_category_anc_products_index_tmp`
--

CREATE TABLE `mg_catalog_category_anc_products_index_tmp` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(10) unsigned DEFAULT NULL COMMENT 'Position',
  KEY `IDX_mg_CAT_CTGR_ANC_PRDS_IDX_TMP_CTGR_ID_PRD_ID_POSITION` (`category_id`,`product_id`,`position`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Category Anchor Product Indexer Temp Table';

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

--
-- Table structure for table`mg_catalog_category_entity`
--

CREATE TABLE `mg_catalog_category_entity` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_set_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attriute Set ID',
  `parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Parent Category ID',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  `path` varchar(255) NOT NULL COMMENT 'Tree Path',
  `position` int(11) NOT NULL COMMENT 'Position',
  `level` int(11) NOT NULL DEFAULT '0' COMMENT 'Tree Level',
  `children_count` int(11) NOT NULL COMMENT 'Child Count',
  PRIMARY KEY (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_LEVEL` (`level`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_PATH_ENTITY_ID` (`path`,`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Table' AUTO_INCREMENT=10 ;

--
-- Dumping data for table 'mg_catalog_category_entity'
--

INSERT INTO `mg_catalog_category_entity` VALUES
(1, 3, 0, 0, '2013-01-24 12:06:24', '2013-01-24 12:06:24', '1', 0, 0, 4),
(2, 3, 3, 1, '2013-01-24 12:06:24', '2013-01-31 15:08:38', '1/2', 1, 1, 3),
(5, 3, 3, 2, '2013-01-31 15:09:12', '2013-01-31 16:34:40', '1/2/5', 1, 2, 0),
(8, 3, 3, 2, '2013-01-31 16:44:33', '2013-01-31 16:44:33', '1/2/8', 2, 2, 0),
(9, 3, 3, 2, '2013-01-31 16:46:52', '2013-01-31 16:46:52', '1/2/9', 3, 2, 0);

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

--
-- Table structure for table`mg_catalog_category_entity_datetime`
--

CREATE TABLE `mg_catalog_category_entity_datetime` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` datetime DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `CF5EE11ECFFF55FD9915E6894BE0C292` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DATETIME_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DATETIME_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DATETIME_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Datetime Attribute Backend Table' AUTO_INCREMENT=53 ;

--
-- Dumping data for table 'mg_catalog_category_entity_datetime'
--

INSERT INTO `mg_catalog_category_entity_datetime` VALUES
(31, 3, 59, 0, 2, NULL),
(32, 3, 60, 0, 2, NULL),
(33, 3, 59, 0, 5, NULL),
(34, 3, 60, 0, 5, NULL),
(49, 3, 59, 0, 8, NULL),
(50, 3, 60, 0, 8, NULL),
(51, 3, 59, 0, 9, NULL),
(52, 3, 60, 0, 9, NULL);

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

--
-- Table structure for table`mg_catalog_category_entity_decimal`
--

CREATE TABLE `mg_catalog_category_entity_decimal` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` decimal(12,4) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `479DA1DD8CED295B97C96AEF816CA4EE` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DECIMAL_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DECIMAL_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_DECIMAL_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Decimal Attribute Backend Table' AUTO_INCREMENT=9 ;

--
-- Dumping data for table 'mg_catalog_category_entity_decimal'
--

INSERT INTO `mg_catalog_category_entity_decimal` VALUES
(3, 3, 70, 0, 2, NULL),
(4, 3, 70, 0, 5, NULL),
(7, 3, 70, 0, 8, NULL),
(8, 3, 70, 0, 9, NULL);

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

--
-- Table structure for table`mg_catalog_category_entity_int`
--

CREATE TABLE `mg_catalog_category_entity_int` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` int(11) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `D4DCEA4794FAD89AFB015D1A9A876652` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_INT_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_INT_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_INT_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Integer Attribute Backend Table' AUTO_INCREMENT=65 ;

--
-- Dumping data for table 'mg_catalog_category_entity_int'
--

INSERT INTO `mg_catalog_category_entity_int` VALUES
(1, 3, 67, 0, 1, 1),
(2, 3, 67, 1, 1, 1),
(3, 3, 42, 0, 2, 1),
(4, 3, 67, 0, 2, 0),
(5, 3, 42, 1, 2, 1),
(26, 3, 50, 0, 2, NULL),
(27, 3, 51, 0, 2, 0),
(28, 3, 69, 0, 2, 0),
(30, 3, 42, 0, 5, 1),
(31, 3, 67, 0, 5, 1),
(32, 3, 50, 0, 5, NULL),
(33, 3, 51, 0, 5, 0),
(34, 3, 68, 0, 5, 0),
(35, 3, 69, 0, 5, 0),
(53, 3, 42, 0, 8, 1),
(54, 3, 67, 0, 8, 1),
(55, 3, 50, 0, 8, NULL),
(56, 3, 51, 0, 8, 0),
(57, 3, 68, 0, 8, 0),
(58, 3, 69, 0, 8, 0),
(59, 3, 42, 0, 9, 1),
(60, 3, 67, 0, 9, 1),
(61, 3, 50, 0, 9, NULL),
(62, 3, 51, 0, 9, 0),
(63, 3, 68, 0, 9, 0),
(64, 3, 69, 0, 9, 0);

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

--
-- Table structure for table`mg_catalog_category_entity_text`
--

CREATE TABLE `mg_catalog_category_entity_text` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` text COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `C5C12717DDBD72AD93A554EB628FD964` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_TEXT_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_TEXT_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_TEXT_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Text Attribute Backend Table' AUTO_INCREMENT=135 ;

--
-- Dumping data for table 'mg_catalog_category_entity_text'
--

INSERT INTO `mg_catalog_category_entity_text` VALUES
(1, 3, 65, 0, 1, NULL),
(2, 3, 65, 1, 1, NULL),
(3, 3, 65, 0, 2, NULL),
(80, 3, 44, 0, 2, NULL),
(81, 3, 47, 0, 2, NULL),
(82, 3, 48, 0, 2, NULL),
(83, 3, 62, 0, 2, NULL),
(85, 3, 44, 0, 5, NULL),
(86, 3, 47, 0, 5, NULL),
(87, 3, 48, 0, 5, NULL),
(88, 3, 62, 0, 5, NULL),
(89, 3, 65, 0, 5, NULL),
(125, 3, 44, 0, 8, NULL),
(126, 3, 47, 0, 8, NULL),
(127, 3, 48, 0, 8, NULL),
(128, 3, 62, 0, 8, NULL),
(129, 3, 65, 0, 8, NULL),
(130, 3, 44, 0, 9, NULL),
(131, 3, 47, 0, 9, NULL),
(132, 3, 48, 0, 9, NULL),
(133, 3, 62, 0, 9, NULL),
(134, 3, 65, 0, 9, NULL);

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

--
-- Table structure for table`mg_catalog_category_entity_varchar`
--

CREATE TABLE `mg_catalog_category_entity_varchar` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `3EE50EFF4AF2CC06526F54A7B55B7C4B` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_VARCHAR_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_VARCHAR_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_ENTITY_VARCHAR_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Category Varchar Attribute Backend Table' AUTO_INCREMENT=125 ;

--
-- Dumping data for table 'mg_catalog_category_entity_varchar'
--

INSERT INTO `mg_catalog_category_entity_varchar` VALUES
(1, 3, 41, 0, 1, 'Root Catalog'),
(2, 3, 41, 1, 1, 'Root Catalog'),
(3, 3, 43, 1, 1, 'root-catalog'),
(4, 3, 41, 0, 2, 'Default Category'),
(5, 3, 41, 1, 2, 'Default Category'),
(6, 3, 49, 1, 2, 'PRODUCTS'),
(7, 3, 43, 1, 2, 'default-category'),
(64, 3, 46, 0, 2, NULL),
(65, 3, 58, 0, 2, NULL),
(66, 3, 61, 0, 2, NULL),
(67, 3, 41, 0, 5, 'Home Decor'),
(68, 3, 43, 0, 5, 'home-decor'),
(69, 3, 46, 0, 5, NULL),
(70, 3, 49, 0, 5, 'PRODUCTS'),
(71, 3, 58, 0, 5, NULL),
(72, 3, 61, 0, 5, 'homepage'),
(73, 3, 133, 0, 5, 'homeDecor_2.jpg'),
(74, 3, 57, 1, 5, 'home-decor.html'),
(75, 3, 57, 0, 5, 'home-decor.html'),
(107, 3, 41, 0, 8, 'Accessories'),
(108, 3, 43, 0, 8, 'accessories'),
(109, 3, 46, 0, 8, NULL),
(110, 3, 49, 0, 8, 'PRODUCTS'),
(111, 3, 58, 0, 8, NULL),
(112, 3, 61, 0, 8, 'homepage'),
(113, 3, 133, 0, 8, 'accessories_1.jpg'),
(114, 3, 57, 1, 8, 'accessories.html'),
(115, 3, 57, 0, 8, 'accessories.html'),
(116, 3, 41, 0, 9, 'Gadgets'),
(117, 3, 43, 0, 9, 'gadgets'),
(118, 3, 46, 0, 9, NULL),
(119, 3, 49, 0, 9, 'PRODUCTS'),
(120, 3, 58, 0, 9, NULL),
(121, 3, 61, 0, 9, 'homepage'),
(122, 3, 133, 0, 9, 'gadgets_1.jpg'),
(123, 3, 57, 1, 9, 'gadgets.html'),
(124, 3, 57, 0, 9, 'gadgets.html');

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

--
-- Table structure for table`mg_catalog_category_flat_store_1`
--

CREATE TABLE `mg_catalog_category_flat_store_1` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'entity_id',
  `parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'parent_id',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'created_at',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'updated_at',
  `path` varchar(255) NOT NULL DEFAULT '' COMMENT 'path',
  `position` int(11) NOT NULL COMMENT 'position',
  `level` int(11) NOT NULL DEFAULT '0' COMMENT 'level',
  `children_count` int(11) NOT NULL COMMENT 'children_count',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `all_children` text COMMENT 'All Children',
  `available_sort_by` text COMMENT 'Available Product Listing Sort By',
  `children` text COMMENT 'Children',
  `custom_apply_to_products` int(11) DEFAULT NULL COMMENT 'Apply To Products',
  `custom_design` varchar(255) DEFAULT NULL COMMENT 'Custom Design',
  `custom_design_from` datetime DEFAULT NULL COMMENT 'Active From',
  `custom_design_to` datetime DEFAULT NULL COMMENT 'Active To',
  `custom_layout_update` text COMMENT 'Custom Layout Update',
  `custom_use_parent_settings` int(11) DEFAULT NULL COMMENT 'Use Parent Category Settings',
  `default_sort_by` varchar(255) DEFAULT NULL COMMENT 'Default Product Listing Sort By',
  `description` text COMMENT 'Description',
  `display_mode` varchar(255) DEFAULT NULL COMMENT 'Display Mode',
  `filter_price_range` decimal(12,4) DEFAULT NULL COMMENT 'Layered Navigation Price Step',
  `image` varchar(255) DEFAULT NULL COMMENT 'Image',
  `include_in_menu` int(11) DEFAULT NULL COMMENT 'Include in Navigation Menu',
  `is_active` int(11) DEFAULT NULL COMMENT 'Is Active',
  `is_anchor` int(11) DEFAULT NULL COMMENT 'Is Anchor',
  `landing_page` int(11) DEFAULT NULL COMMENT 'CMS Block',
  `meta_description` text COMMENT 'Meta Description',
  `meta_keywords` text COMMENT 'Meta Keywords',
  `meta_title` varchar(255) DEFAULT NULL COMMENT 'Page Title',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `page_layout` varchar(255) DEFAULT NULL COMMENT 'Page Layout',
  `path_in_store` text COMMENT 'Path In Store',
  `thumbnail` varchar(255) DEFAULT NULL COMMENT 'Thumbnail Image',
  `url_key` varchar(255) DEFAULT NULL COMMENT 'URL Key',
  `url_path` varchar(255) DEFAULT NULL COMMENT 'Url Path',
  PRIMARY KEY (`entity_id`),
  KEY `IDX_MG_CATALOG_CATEGORY_FLAT_STORE_1_STORE_ID` (`store_id`),
  KEY `IDX_MG_CATALOG_CATEGORY_FLAT_STORE_1_PATH` (`path`),
  KEY `IDX_MG_CATALOG_CATEGORY_FLAT_STORE_1_LEVEL` (`level`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Flat (Store 1)';

--
-- Dumping data for table 'mg_catalog_category_flat_store_1'
--

INSERT INTO `mg_catalog_category_flat_store_1` VALUES
(1, 0, '2013-01-24 12:06:24', '2013-01-24 12:06:24', '1', 0, 0, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 'Root Catalog', NULL, NULL, NULL, NULL, NULL),
(2, 1, '2013-01-24 12:06:24', '2013-01-24 12:06:24', '1/2', 1, 1, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, 'Default Category', NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table`mg_catalog_category_product`
--

CREATE TABLE `mg_catalog_category_product` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  PRIMARY KEY (`category_id`,`product_id`),
  KEY `IDX_mg_CATALOG_CATEGORY_PRODUCT_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product To Category Linkage Table';

--
-- Dumping data for table 'mg_catalog_category_product'
--

INSERT INTO `mg_catalog_category_product` VALUES
(5, 13, 1),
(5, 14, 1),
(5, 15, 1),
(5, 16, 1),
(5, 17, 1),
(5, 18, 1),
(5, 19, 1),
(5, 20, 1),
(5, 21, 1),
(5, 22, 1),
(5, 23, 1),
(8, 2, 1),
(8, 3, 1),
(8, 4, 1),
(8, 5, 1),
(8, 6, 1),
(8, 7, 1),
(8, 8, 1),
(8, 9, 1),
(8, 10, 1),
(9, 11, 1),
(9, 12, 1);

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

--
-- Table structure for table`mg_catalog_category_product_index`
--

CREATE TABLE `mg_catalog_category_product_index` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(11) DEFAULT NULL COMMENT 'Position',
  `is_parent` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Parent',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `visibility` smallint(5) unsigned NOT NULL COMMENT 'Visibility',
  PRIMARY KEY (`category_id`,`product_id`,`store_id`),
  KEY `IDX_mg_CAT_CTGR_PRD_IDX_PRD_ID_STORE_ID_CTGR_ID_VISIBILITY` (`product_id`,`store_id`,`category_id`,`visibility`),
  KEY `8B9D250D67BF23DCEE85A6638139EE60` (`store_id`,`category_id`,`visibility`,`is_parent`,`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Product Index';

--
-- Dumping data for table 'mg_catalog_category_product_index'
--

INSERT INTO `mg_catalog_category_product_index` VALUES
(2, 13, 60001, 0, 1, 4),
(2, 14, 60001, 0, 1, 4),
(2, 15, 60001, 0, 1, 4),
(2, 16, 60001, 0, 1, 4),
(2, 17, 60001, 0, 1, 4),
(2, 18, 60001, 0, 1, 4),
(2, 19, 60001, 0, 1, 4),
(2, 20, 60001, 0, 1, 4),
(2, 21, 60001, 0, 1, 4),
(2, 22, 60001, 0, 1, 4),
(2, 23, 60001, 0, 1, 4),
(2, 2, 90001, 0, 1, 4),
(2, 3, 90001, 0, 1, 4),
(2, 4, 90001, 0, 1, 4),
(2, 5, 90001, 0, 1, 4),
(2, 6, 90001, 0, 1, 4),
(2, 7, 90001, 0, 1, 4),
(2, 8, 90001, 0, 1, 4),
(2, 9, 90001, 0, 1, 4),
(2, 10, 90001, 0, 1, 4),
(2, 11, 120001, 0, 1, 4),
(2, 12, 120001, 0, 1, 4),
(5, 13, 1, 1, 1, 4),
(5, 14, 1, 1, 1, 4),
(5, 15, 1, 1, 1, 4),
(5, 16, 1, 1, 1, 4),
(5, 17, 1, 1, 1, 4),
(5, 18, 1, 1, 1, 4),
(5, 19, 1, 1, 1, 4),
(5, 20, 1, 1, 1, 4),
(5, 21, 1, 1, 1, 4),
(5, 22, 1, 1, 1, 4),
(5, 23, 1, 1, 1, 4),
(8, 2, 1, 1, 1, 4),
(8, 3, 1, 1, 1, 4),
(8, 4, 1, 1, 1, 4),
(8, 5, 1, 1, 1, 4),
(8, 6, 1, 1, 1, 4),
(8, 7, 1, 1, 1, 4),
(8, 8, 1, 1, 1, 4),
(8, 9, 1, 1, 1, 4),
(8, 10, 1, 1, 1, 4),
(9, 11, 1, 1, 1, 4),
(9, 12, 1, 1, 1, 4);

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

--
-- Table structure for table`mg_catalog_category_product_index_enbl_idx`
--

CREATE TABLE `mg_catalog_category_product_index_enbl_idx` (
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `visibility` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Visibility',
  KEY `IDX_mg_CATALOG_CATEGORY_PRODUCT_INDEX_ENBL_IDX_PRODUCT_ID` (`product_id`),
  KEY `IDX_mg_CAT_CTGR_PRD_IDX_ENBL_IDX_PRD_ID_VISIBILITY` (`product_id`,`visibility`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Product Enabled Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_category_product_index_enbl_tmp`
--

CREATE TABLE `mg_catalog_category_product_index_enbl_tmp` (
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `visibility` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Visibility',
  KEY `IDX_mg_CATALOG_CATEGORY_PRODUCT_INDEX_ENBL_TMP_PRODUCT_ID` (`product_id`),
  KEY `IDX_mg_CAT_CTGR_PRD_IDX_ENBL_TMP_PRD_ID_VISIBILITY` (`product_id`,`visibility`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Category Product Enabled Indexer Temp Table';

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

--
-- Table structure for table`mg_catalog_category_product_index_idx`
--

CREATE TABLE `mg_catalog_category_product_index_idx` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  `is_parent` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Parent',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `visibility` smallint(5) unsigned NOT NULL COMMENT 'Visibility',
  KEY `IDX_mg_CAT_CTGR_PRD_IDX_IDX_PRD_ID_CTGR_ID_STORE_ID` (`product_id`,`category_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Category Product Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_category_product_index_tmp`
--

CREATE TABLE `mg_catalog_category_product_index_tmp` (
  `category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Category ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  `is_parent` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Parent',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `visibility` smallint(5) unsigned NOT NULL COMMENT 'Visibility',
  KEY `IDX_mg_CAT_CTGR_PRD_IDX_TMP_PRD_ID_CTGR_ID_STORE_ID` (`product_id`,`category_id`,`store_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Category Product Indexer Temp Table';

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

--
-- Table structure for table`mg_catalog_compare_item`
--

CREATE TABLE `mg_catalog_compare_item` (
  `catalog_compare_item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Compare Item ID',
  `visitor_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Visitor ID',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  PRIMARY KEY (`catalog_compare_item_id`),
  KEY `IDX_mg_CATALOG_COMPARE_ITEM_CUSTOMER_ID` (`customer_id`),
  KEY `IDX_mg_CATALOG_COMPARE_ITEM_PRODUCT_ID` (`product_id`),
  KEY `IDX_mg_CATALOG_COMPARE_ITEM_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  KEY `IDX_mg_CATALOG_COMPARE_ITEM_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `IDX_mg_CATALOG_COMPARE_ITEM_STORE_ID` (`store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Compare Table' AUTO_INCREMENT=2 ;

--
-- Dumping data for table 'mg_catalog_compare_item'
--

INSERT INTO `mg_catalog_compare_item` VALUES
(1, 330, NULL, 1, 1);

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

--
-- Table structure for table`mg_catalog_eav_attribute`
--

CREATE TABLE `mg_catalog_eav_attribute` (
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `frontend_input_renderer` varchar(255) DEFAULT NULL COMMENT 'Frontend Input Renderer',
  `is_global` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Global',
  `is_visible` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Visible',
  `is_searchable` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Searchable',
  `is_filterable` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Filterable',
  `is_comparable` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Comparable',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible On Front',
  `is_html_allowed_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is HTML Allowed On Front',
  `is_used_for_price_rules` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Used For Price Rules',
  `is_filterable_in_search` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Filterable In Search',
  `used_in_product_listing` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Used In Product Listing',
  `used_for_sort_by` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Used For Sorting',
  `is_configurable` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Configurable',
  `apply_to` varchar(255) DEFAULT NULL COMMENT 'Apply To',
  `is_visible_in_advanced_search` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible In Advanced Search',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  `is_wysiwyg_enabled` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is WYSIWYG Enabled',
  `is_used_for_promo_rules` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Used For Promo Rules',
  PRIMARY KEY (`attribute_id`),
  KEY `IDX_mg_CATALOG_EAV_ATTRIBUTE_USED_FOR_SORT_BY` (`used_for_sort_by`),
  KEY `IDX_mg_CATALOG_EAV_ATTRIBUTE_USED_IN_PRODUCT_LISTING` (`used_in_product_listing`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog EAV Attribute Table';

--
-- Dumping data for table 'mg_catalog_eav_attribute'
--

INSERT INTO `mg_catalog_eav_attribute` VALUES
(41, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(42, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(43, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(44, NULL, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, NULL, 0, 0, 1, 0),
(45, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(46, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(47, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(48, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(49, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(50, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(51, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(52, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(53, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(54, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(55, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(56, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(57, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(58, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(59, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(60, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(61, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(62, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(63, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(64, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(65, 'adminhtml/catalog_category_helper_sortby_available', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(66, 'adminhtml/catalog_category_helper_sortby_default', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(67, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(68, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(69, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(70, 'adminhtml/catalog_category_helper_pricestep', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(71, NULL, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, NULL, 1, 0, 0, 0),
(72, NULL, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, NULL, 1, 0, 1, 0),
(73, NULL, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, NULL, 1, 0, 1, 0),
(74, NULL, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, NULL, 1, 0, 0, 0),
(75, NULL, 2, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 'simple,configurable,virtual,bundle,downloadable', 1, 0, 0, 0),
(76, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(77, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(78, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(79, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'virtual,downloadable', 0, 0, 0, 0),
(80, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'simple,bundle', 0, 0, 0, 0),
(81, NULL, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 'simple', 1, 0, 0, 0),
(82, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(83, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(84, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(85, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(86, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(87, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(88, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(89, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(90, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(91, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(92, NULL, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 'simple', 1, 0, 0, 0),
(93, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(94, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(95, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(96, NULL, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(97, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(98, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(99, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'simple,configurable,virtual,bundle,downloadable', 0, 0, 0, 0),
(100, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'simple,virtual', 0, 0, 0, 0),
(101, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'simple,virtual', 0, 0, 0, 0),
(102, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(103, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(104, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(105, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(106, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(107, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(108, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(109, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(110, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, NULL, 0, 0, 0, 0),
(111, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(112, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, NULL, 0, 0, 0, 0),
(113, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, NULL, 0, 0, 0, 0),
(114, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, NULL, 0, 0, 0, 0),
(115, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(116, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0),
(117, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'simple,configurable,bundle,grouped', 0, 0, 0, 0),
(118, 'adminhtml/catalog_product_helper_form_msrp_enabled', 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,bundle,configurable,virtual,downloadable', 0, 0, 0, 0),
(119, 'adminhtml/catalog_product_helper_form_msrp_price', 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,bundle,configurable,virtual,downloadable', 0, 0, 0, 0),
(120, NULL, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,bundle,configurable,virtual,downloadable', 0, 0, 0, 0),
(121, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0),
(122, NULL, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 'simple,configurable,virtual,downloadable,bundle', 1, 0, 0, 0),
(123, 'giftmessage/adminhtml_product_helper_form_config', 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0),
(124, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'bundle', 0, 0, 0, 0),
(125, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'bundle', 0, 0, 0, 0),
(126, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'bundle', 0, 0, 0, 0),
(127, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'bundle', 0, 0, 0, 0),
(128, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'bundle', 0, 0, 0, 0),
(129, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'downloadable', 0, 0, 0, 0),
(130, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'downloadable', 0, 0, 0, 0),
(131, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'downloadable', 0, 0, 0, 0),
(132, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'downloadable', 0, 0, 0, 0),
(133, NULL, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, 0, 0, 0, 0);

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

--
-- Table structure for table`mg_catalog_product_bundle_option`
--

CREATE TABLE `mg_catalog_product_bundle_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Id',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent Id',
  `required` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Required',
  `position` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Position',
  `type` varchar(255) DEFAULT NULL COMMENT 'Type',
  PRIMARY KEY (`option_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_OPTION_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Option' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_bundle_option_value`
--

CREATE TABLE `mg_catalog_product_bundle_option_value` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value Id',
  `option_id` int(10) unsigned NOT NULL COMMENT 'Option Id',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CATALOG_PRODUCT_BUNDLE_OPTION_VALUE_OPTION_ID_STORE_ID` (`option_id`,`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Option Value' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_bundle_price_index`
--

CREATE TABLE `mg_catalog_product_bundle_price_index` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `min_price` decimal(12,4) NOT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) NOT NULL COMMENT 'Max Price',
  PRIMARY KEY (`entity_id`,`website_id`,`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_PRICE_INDEX_CUSTOMER_GROUP_ID` (`customer_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Price Index';

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

--
-- Table structure for table`mg_catalog_product_bundle_selection`
--

CREATE TABLE `mg_catalog_product_bundle_selection` (
  `selection_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Selection Id',
  `option_id` int(10) unsigned NOT NULL COMMENT 'Option Id',
  `parent_product_id` int(10) unsigned NOT NULL COMMENT 'Parent Product Id',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `position` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Position',
  `is_default` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Default',
  `selection_price_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Selection Price Type',
  `selection_price_value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Selection Price Value',
  `selection_qty` decimal(12,4) DEFAULT NULL COMMENT 'Selection Qty',
  `selection_can_change_qty` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Selection Can Change Qty',
  PRIMARY KEY (`selection_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_SELECTION_OPTION_ID` (`option_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_SELECTION_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Selection' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_bundle_selection_price`
--

CREATE TABLE `mg_catalog_product_bundle_selection_price` (
  `selection_id` int(10) unsigned NOT NULL COMMENT 'Selection Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `selection_price_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Selection Price Type',
  `selection_price_value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Selection Price Value',
  PRIMARY KEY (`selection_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_BUNDLE_SELECTION_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Selection Price';

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

--
-- Table structure for table`mg_catalog_product_bundle_stock_index`
--

CREATE TABLE `mg_catalog_product_bundle_stock_index` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `stock_id` smallint(5) unsigned NOT NULL COMMENT 'Stock Id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Id',
  `stock_status` smallint(6) DEFAULT '0' COMMENT 'Stock Status',
  PRIMARY KEY (`entity_id`,`website_id`,`stock_id`,`option_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Bundle Stock Index';

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

--
-- Table structure for table`mg_catalog_product_enabled_index`
--

CREATE TABLE `mg_catalog_product_enabled_index` (
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `visibility` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Visibility',
  PRIMARY KEY (`product_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENABLED_INDEX_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Visibility Index Table';

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

--
-- Table structure for table`mg_catalog_product_entity`
--

CREATE TABLE `mg_catalog_product_entity` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_set_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute Set ID',
  `type_id` varchar(32) NOT NULL DEFAULT 'simple' COMMENT 'Type ID',
  `sku` varchar(64) DEFAULT NULL COMMENT 'SKU',
  `has_options` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Has Options',
  `required_options` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Required Options',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_ENTITY_TYPE_ID` (`entity_type_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_ATTRIBUTE_SET_ID` (`attribute_set_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_SKU` (`sku`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Table' AUTO_INCREMENT=24 ;

--
-- Dumping data for table 'mg_catalog_product_entity'
--

INSERT INTO `mg_catalog_product_entity` VALUES
(1, 4, 4, 'simple', '100001', 0, 0, '2013-01-25 06:53:16', '2013-01-31 16:02:49'),
(2, 4, 4, 'simple', 'A0000001', 0, 0, '2013-01-31 16:26:22', '2013-01-31 16:48:10'),
(3, 4, 4, 'simple', 'A0000002', 0, 0, '2013-01-31 16:39:16', '2013-01-31 16:45:33'),
(4, 4, 4, 'simple', 'A0000003', 0, 0, '2013-01-31 16:54:31', '2013-01-31 16:54:31'),
(5, 4, 4, 'simple', 'A0000004', 0, 0, '2013-01-31 16:58:59', '2013-01-31 17:00:10'),
(6, 4, 4, 'simple', 'A0000005', 0, 0, '2013-01-31 17:24:20', '2013-01-31 17:24:20'),
(7, 4, 4, 'simple', 'A0000007', 0, 0, '2013-01-31 17:56:14', '2013-01-31 17:56:14'),
(8, 4, 4, 'simple', 'A0000008', 0, 0, '2013-01-31 17:58:43', '2013-01-31 17:58:43'),
(9, 4, 4, 'simple', 'A0000009', 0, 0, '2013-01-31 18:02:22', '2013-01-31 18:02:22'),
(10, 4, 4, 'simple', 'A0000010', 0, 0, '2013-01-31 18:05:15', '2013-01-31 18:05:15'),
(11, 4, 4, 'simple', 'G0000001', 0, 0, '2013-01-31 18:09:48', '2013-01-31 18:09:48'),
(12, 4, 4, 'simple', 'G0000002', 0, 0, '2013-01-31 18:13:07', '2013-01-31 18:13:07'),
(13, 4, 4, 'simple', 'H0000001', 0, 0, '2013-01-31 18:16:45', '2013-01-31 18:16:45'),
(14, 4, 4, 'simple', 'H0000002', 0, 0, '2013-01-31 18:20:58', '2013-01-31 18:20:58'),
(15, 4, 4, 'simple', 'H0000003', 0, 0, '2013-01-31 18:23:10', '2013-01-31 18:24:10'),
(16, 4, 4, 'simple', 'H0000004', 0, 0, '2013-01-31 18:27:14', '2013-01-31 18:27:14'),
(17, 4, 4, 'simple', 'H0000005', 0, 0, '2013-01-31 18:31:11', '2013-01-31 18:31:11'),
(18, 4, 4, 'simple', 'H0000006', 0, 0, '2013-01-31 18:35:35', '2013-01-31 18:35:35'),
(19, 4, 4, 'simple', 'H0000007', 0, 0, '2013-01-31 18:38:31', '2013-01-31 18:38:31'),
(20, 4, 4, 'simple', 'H0000008', 0, 0, '2013-01-31 18:42:09', '2013-01-31 18:51:44'),
(21, 4, 4, 'simple', 'H0000009', 0, 0, '2013-01-31 18:46:07', '2013-01-31 18:46:07'),
(22, 4, 4, 'simple', 'H0000010', 0, 0, '2013-01-31 18:48:22', '2013-01-31 18:48:22'),
(23, 4, 4, 'simple', 'H0000011', 0, 0, '2013-01-31 18:50:50', '2013-01-31 18:50:50');

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

--
-- Table structure for table`mg_catalog_product_entity_datetime`
--

CREATE TABLE `mg_catalog_product_entity_datetime` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` datetime DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_DTIME_ENTT_ID_ATTR_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DATETIME_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DATETIME_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DATETIME_ENTITY_ID` (`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Datetime Attribute Backend Table' AUTO_INCREMENT=213 ;

--
-- Dumping data for table 'mg_catalog_product_entity_datetime'
--

INSERT INTO `mg_catalog_product_entity_datetime` VALUES
(1, 4, 93, 0, 1, '2013-01-24 00:00:00'),
(2, 4, 94, 0, 1, '2013-01-31 00:00:00'),
(3, 4, 77, 0, 1, '2013-01-24 00:00:00'),
(4, 4, 78, 0, 1, '2013-01-27 00:00:00'),
(5, 4, 104, 0, 1, NULL),
(6, 4, 105, 0, 1, NULL),
(23, 4, 93, 0, 2, NULL),
(24, 4, 94, 0, 2, NULL),
(25, 4, 77, 0, 2, NULL),
(26, 4, 78, 0, 2, NULL),
(27, 4, 104, 0, 2, NULL),
(28, 4, 105, 0, 2, NULL),
(41, 4, 93, 0, 3, NULL),
(42, 4, 94, 0, 3, NULL),
(43, 4, 77, 0, 3, NULL),
(44, 4, 78, 0, 3, NULL),
(45, 4, 104, 0, 3, NULL),
(46, 4, 105, 0, 3, NULL),
(77, 4, 93, 0, 4, NULL),
(78, 4, 94, 0, 4, NULL),
(79, 4, 77, 0, 4, '2013-01-31 00:00:00'),
(80, 4, 78, 0, 4, NULL),
(81, 4, 104, 0, 4, NULL),
(82, 4, 105, 0, 4, NULL),
(83, 4, 93, 0, 5, NULL),
(84, 4, 94, 0, 5, NULL),
(85, 4, 77, 0, 5, '2013-01-31 00:00:00'),
(86, 4, 78, 0, 5, NULL),
(87, 4, 104, 0, 5, NULL),
(88, 4, 105, 0, 5, NULL),
(94, 4, 93, 0, 6, NULL),
(95, 4, 94, 0, 6, NULL),
(96, 4, 77, 0, 6, NULL),
(97, 4, 78, 0, 6, NULL),
(98, 4, 104, 0, 6, NULL),
(99, 4, 105, 0, 6, NULL),
(100, 4, 93, 0, 7, NULL),
(101, 4, 94, 0, 7, NULL),
(102, 4, 77, 0, 7, '2013-01-31 00:00:00'),
(103, 4, 78, 0, 7, NULL),
(104, 4, 104, 0, 7, NULL),
(105, 4, 105, 0, 7, NULL),
(106, 4, 93, 0, 8, NULL),
(107, 4, 94, 0, 8, NULL),
(108, 4, 77, 0, 8, NULL),
(109, 4, 78, 0, 8, NULL),
(110, 4, 104, 0, 8, NULL),
(111, 4, 105, 0, 8, NULL),
(112, 4, 93, 0, 9, NULL),
(113, 4, 94, 0, 9, NULL),
(114, 4, 77, 0, 9, '2013-01-31 00:00:00'),
(115, 4, 78, 0, 9, NULL),
(116, 4, 104, 0, 9, NULL),
(117, 4, 105, 0, 9, NULL),
(118, 4, 93, 0, 10, NULL),
(119, 4, 94, 0, 10, NULL),
(120, 4, 77, 0, 10, NULL),
(121, 4, 78, 0, 10, NULL),
(122, 4, 104, 0, 10, NULL),
(123, 4, 105, 0, 10, NULL),
(124, 4, 93, 0, 11, NULL),
(125, 4, 94, 0, 11, NULL),
(126, 4, 77, 0, 11, NULL),
(127, 4, 78, 0, 11, NULL),
(128, 4, 104, 0, 11, NULL),
(129, 4, 105, 0, 11, NULL),
(130, 4, 93, 0, 12, NULL),
(131, 4, 94, 0, 12, NULL),
(132, 4, 77, 0, 12, '2013-01-31 00:00:00'),
(133, 4, 78, 0, 12, NULL),
(134, 4, 104, 0, 12, NULL),
(135, 4, 105, 0, 12, NULL),
(136, 4, 93, 0, 13, NULL),
(137, 4, 94, 0, 13, NULL),
(138, 4, 77, 0, 13, NULL),
(139, 4, 78, 0, 13, NULL),
(140, 4, 104, 0, 13, NULL),
(141, 4, 105, 0, 13, NULL),
(142, 4, 93, 0, 14, NULL),
(143, 4, 94, 0, 14, NULL),
(144, 4, 77, 0, 14, NULL),
(145, 4, 78, 0, 14, NULL),
(146, 4, 104, 0, 14, NULL),
(147, 4, 105, 0, 14, NULL),
(148, 4, 93, 0, 15, NULL),
(149, 4, 94, 0, 15, NULL),
(150, 4, 77, 0, 15, '2013-01-31 00:00:00'),
(151, 4, 78, 0, 15, NULL),
(152, 4, 104, 0, 15, NULL),
(153, 4, 105, 0, 15, NULL),
(159, 4, 93, 0, 16, NULL),
(160, 4, 94, 0, 16, NULL),
(161, 4, 77, 0, 16, NULL),
(162, 4, 78, 0, 16, NULL),
(163, 4, 104, 0, 16, NULL),
(164, 4, 105, 0, 16, NULL),
(165, 4, 93, 0, 17, NULL),
(166, 4, 94, 0, 17, NULL),
(167, 4, 77, 0, 17, '2013-01-31 00:00:00'),
(168, 4, 78, 0, 17, NULL),
(169, 4, 104, 0, 17, NULL),
(170, 4, 105, 0, 17, NULL),
(171, 4, 93, 0, 18, NULL),
(172, 4, 94, 0, 18, NULL),
(173, 4, 77, 0, 18, NULL),
(174, 4, 78, 0, 18, NULL),
(175, 4, 104, 0, 18, NULL),
(176, 4, 105, 0, 18, NULL),
(177, 4, 93, 0, 19, NULL),
(178, 4, 94, 0, 19, NULL),
(179, 4, 77, 0, 19, '2013-01-31 00:00:00'),
(180, 4, 78, 0, 19, NULL),
(181, 4, 104, 0, 19, NULL),
(182, 4, 105, 0, 19, NULL),
(183, 4, 93, 0, 20, NULL),
(184, 4, 94, 0, 20, NULL),
(185, 4, 77, 0, 20, NULL),
(186, 4, 78, 0, 20, NULL),
(187, 4, 104, 0, 20, NULL),
(188, 4, 105, 0, 20, NULL),
(189, 4, 93, 0, 21, NULL),
(190, 4, 94, 0, 21, NULL),
(191, 4, 77, 0, 21, NULL),
(192, 4, 78, 0, 21, NULL),
(193, 4, 104, 0, 21, NULL),
(194, 4, 105, 0, 21, NULL),
(195, 4, 93, 0, 22, NULL),
(196, 4, 94, 0, 22, NULL),
(197, 4, 77, 0, 22, NULL),
(198, 4, 78, 0, 22, NULL),
(199, 4, 104, 0, 22, NULL),
(200, 4, 105, 0, 22, NULL),
(201, 4, 93, 0, 23, NULL),
(202, 4, 94, 0, 23, NULL),
(203, 4, 77, 0, 23, '2013-01-31 00:00:00'),
(204, 4, 78, 0, 23, NULL),
(205, 4, 104, 0, 23, NULL),
(206, 4, 105, 0, 23, NULL);

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

--
-- Table structure for table`mg_catalog_product_entity_decimal`
--

CREATE TABLE `mg_catalog_product_entity_decimal` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` decimal(12,4) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_DEC_ENTT_ID_ATTR_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DECIMAL_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DECIMAL_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_DECIMAL_ATTRIBUTE_ID` (`attribute_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Decimal Attribute Backend Table' AUTO_INCREMENT=147 ;

--
-- Dumping data for table 'mg_catalog_product_entity_decimal'
--

INSERT INTO `mg_catalog_product_entity_decimal` VALUES
(1, 4, 80, 0, 1, 40.0000),
(2, 4, 75, 0, 1, 470.0000),
(3, 4, 76, 0, 1, 300.0000),
(4, 4, 120, 0, 1, NULL),
(29, 4, 80, 0, 2, 4.0000),
(30, 4, 75, 0, 2, 15.0000),
(31, 4, 76, 0, 2, NULL),
(32, 4, 120, 0, 2, NULL),
(39, 4, 80, 0, 3, 2.0000),
(40, 4, 75, 0, 3, 145.0000),
(41, 4, 76, 0, 3, NULL),
(42, 4, 120, 0, 3, NULL),
(58, 4, 80, 0, 4, 0.5000),
(59, 4, 75, 0, 4, 300.0000),
(60, 4, 76, 0, 4, 175.0000),
(61, 4, 120, 0, 4, NULL),
(62, 4, 80, 0, 5, 1.0000),
(63, 4, 75, 0, 5, 1000.0000),
(64, 4, 76, 0, 5, 850.0000),
(65, 4, 120, 0, 5, NULL),
(69, 4, 80, 0, 6, 0.1000),
(70, 4, 75, 0, 6, 25.0000),
(71, 4, 76, 0, 6, NULL),
(72, 4, 120, 0, 6, NULL),
(73, 4, 80, 0, 7, 0.7000),
(74, 4, 75, 0, 7, 35.0000),
(75, 4, 76, 0, 7, 20.0000),
(76, 4, 120, 0, 7, NULL),
(77, 4, 80, 0, 8, 0.0500),
(78, 4, 75, 0, 8, 10.0000),
(79, 4, 76, 0, 8, NULL),
(80, 4, 120, 0, 8, NULL),
(81, 4, 80, 0, 9, 0.0200),
(82, 4, 75, 0, 9, 17.5000),
(83, 4, 76, 0, 9, 11.5000),
(84, 4, 120, 0, 9, NULL),
(85, 4, 80, 0, 10, 10.0000),
(86, 4, 75, 0, 10, 50.0000),
(87, 4, 76, 0, 10, NULL),
(88, 4, 120, 0, 10, NULL),
(89, 4, 80, 0, 11, 0.8000),
(90, 4, 75, 0, 11, 20.0000),
(91, 4, 76, 0, 11, NULL),
(92, 4, 120, 0, 11, NULL),
(93, 4, 80, 0, 12, 30.0000),
(94, 4, 75, 0, 12, 1300.0000),
(95, 4, 76, 0, 12, 999.0000),
(96, 4, 120, 0, 12, NULL),
(97, 4, 80, 0, 13, 18.0000),
(98, 4, 75, 0, 13, 350.0000),
(99, 4, 76, 0, 13, NULL),
(100, 4, 120, 0, 13, NULL),
(101, 4, 80, 0, 14, 4.0000),
(102, 4, 75, 0, 14, 75.0000),
(103, 4, 76, 0, 14, NULL),
(104, 4, 120, 0, 14, NULL),
(105, 4, 80, 0, 15, 1.2000),
(106, 4, 75, 0, 15, 110.0000),
(107, 4, 76, 0, 15, 79.0000),
(108, 4, 120, 0, 15, NULL),
(112, 4, 80, 0, 16, 8.0000),
(113, 4, 75, 0, 16, 65.0000),
(114, 4, 76, 0, 16, NULL),
(115, 4, 120, 0, 16, NULL),
(116, 4, 80, 0, 17, 2.5000),
(117, 4, 75, 0, 17, 120.0000),
(118, 4, 76, 0, 17, 69.0000),
(119, 4, 120, 0, 17, NULL),
(120, 4, 80, 0, 18, 2.4000),
(121, 4, 75, 0, 18, 55.0000),
(122, 4, 76, 0, 18, NULL),
(123, 4, 120, 0, 18, NULL),
(124, 4, 80, 0, 19, 50.0000),
(125, 4, 75, 0, 19, 2250.0000),
(126, 4, 76, 0, 19, 999.0000),
(127, 4, 120, 0, 19, NULL),
(128, 4, 80, 0, 20, 80.0000),
(129, 4, 75, 0, 20, 800.0000),
(130, 4, 76, 0, 20, NULL),
(131, 4, 120, 0, 20, NULL),
(132, 4, 80, 0, 21, 1.0000),
(133, 4, 75, 0, 21, 30.0000),
(134, 4, 76, 0, 21, NULL),
(135, 4, 120, 0, 21, NULL),
(136, 4, 80, 0, 22, 17.0000),
(137, 4, 75, 0, 22, 23.0000),
(138, 4, 76, 0, 22, NULL),
(139, 4, 120, 0, 22, NULL),
(140, 4, 80, 0, 23, 50.0000),
(141, 4, 75, 0, 23, 110.0000),
(142, 4, 76, 0, 23, 85.0000),
(143, 4, 120, 0, 23, NULL);

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

--
-- Table structure for table`mg_catalog_product_entity_gallery`
--

CREATE TABLE `mg_catalog_product_entity_gallery` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_GLR_ENTT_TYPE_ID_ENTT_ID_ATTR_ID_STORE_ID` (`entity_type_id`,`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GALLERY_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GALLERY_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GALLERY_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Gallery Attribute Backend Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_entity_group_price`
--

CREATE TABLE `mg_catalog_product_entity_group_price` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `all_groups` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Applicable To All Customer Groups',
  `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group ID',
  `value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `FD32F57567C1E50E88B9753A7E7D8C8A` (`entity_id`,`all_groups`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GROUP_PRICE_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GROUP_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_GROUP_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Group Price Attribute Backend Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_entity_int`
--

CREATE TABLE `mg_catalog_product_entity_int` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` int(11) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_INT_ENTT_ID_ATTR_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_INT_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_INT_ENTITY_ID` (`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Integer Attribute Backend Table' AUTO_INCREMENT=117 ;

--
-- Dumping data for table 'mg_catalog_product_entity_int'
--

INSERT INTO `mg_catalog_product_entity_int` VALUES
(1, 4, 96, 0, 1, 2),
(2, 4, 102, 0, 1, 4),
(3, 4, 121, 0, 1, 1),
(4, 4, 122, 0, 1, 4),
(5, 4, 100, 0, 1, 0),
(7, 4, 96, 0, 2, 1),
(8, 4, 102, 0, 2, 4),
(9, 4, 121, 0, 2, 1),
(10, 4, 122, 0, 2, 2),
(11, 4, 100, 0, 2, 0),
(12, 4, 96, 0, 3, 1),
(13, 4, 102, 0, 3, 4),
(14, 4, 121, 0, 3, 1),
(15, 4, 122, 0, 3, 4),
(16, 4, 100, 0, 3, 0),
(17, 4, 96, 0, 4, 1),
(18, 4, 102, 0, 4, 4),
(19, 4, 121, 0, 4, 1),
(20, 4, 122, 0, 4, 4),
(21, 4, 100, 0, 4, 0),
(22, 4, 96, 0, 5, 1),
(23, 4, 102, 0, 5, 4),
(24, 4, 121, 0, 5, 1),
(25, 4, 122, 0, 5, 4),
(26, 4, 100, 0, 5, 0),
(27, 4, 96, 0, 6, 1),
(28, 4, 102, 0, 6, 4),
(29, 4, 121, 0, 6, 1),
(30, 4, 122, 0, 6, 4),
(31, 4, 100, 0, 6, 0),
(32, 4, 96, 0, 7, 1),
(33, 4, 102, 0, 7, 4),
(34, 4, 121, 0, 7, 1),
(35, 4, 122, 0, 7, 4),
(36, 4, 100, 0, 7, 0),
(37, 4, 96, 0, 8, 1),
(38, 4, 102, 0, 8, 4),
(39, 4, 121, 0, 8, 1),
(40, 4, 122, 0, 8, 2),
(41, 4, 100, 0, 8, 0),
(42, 4, 96, 0, 9, 1),
(43, 4, 102, 0, 9, 4),
(44, 4, 121, 0, 9, 1),
(45, 4, 122, 0, 9, 2),
(46, 4, 100, 0, 9, 0),
(47, 4, 96, 0, 10, 1),
(48, 4, 102, 0, 10, 4),
(49, 4, 121, 0, 10, 1),
(50, 4, 122, 0, 10, 4),
(51, 4, 100, 0, 10, 0),
(52, 4, 96, 0, 11, 1),
(53, 4, 102, 0, 11, 4),
(54, 4, 121, 0, 11, 1),
(55, 4, 122, 0, 11, 4),
(56, 4, 100, 0, 11, 0),
(57, 4, 96, 0, 12, 1),
(58, 4, 102, 0, 12, 4),
(59, 4, 121, 0, 12, 1),
(60, 4, 122, 0, 12, 4),
(61, 4, 100, 0, 12, 0),
(62, 4, 96, 0, 13, 1),
(63, 4, 102, 0, 13, 4),
(64, 4, 121, 0, 13, 1),
(65, 4, 122, 0, 13, 4),
(66, 4, 100, 0, 13, 0),
(67, 4, 96, 0, 14, 1),
(68, 4, 102, 0, 14, 4),
(69, 4, 121, 0, 14, 1),
(70, 4, 122, 0, 14, 2),
(71, 4, 100, 0, 14, 0),
(72, 4, 96, 0, 15, 1),
(73, 4, 102, 0, 15, 4),
(74, 4, 121, 0, 15, 1),
(75, 4, 122, 0, 15, 2),
(76, 4, 100, 0, 15, 0),
(77, 4, 96, 0, 16, 1),
(78, 4, 102, 0, 16, 4),
(79, 4, 121, 0, 16, 1),
(80, 4, 122, 0, 16, 4),
(81, 4, 100, 0, 16, 0),
(82, 4, 96, 0, 17, 1),
(83, 4, 102, 0, 17, 4),
(84, 4, 121, 0, 17, 1),
(85, 4, 122, 0, 17, 4),
(86, 4, 100, 0, 17, 0),
(87, 4, 96, 0, 18, 1),
(88, 4, 102, 0, 18, 4),
(89, 4, 121, 0, 18, 1),
(90, 4, 122, 0, 18, 4),
(91, 4, 100, 0, 18, 0),
(92, 4, 96, 0, 19, 1),
(93, 4, 102, 0, 19, 4),
(94, 4, 121, 0, 19, 1),
(95, 4, 122, 0, 19, 4),
(96, 4, 100, 0, 19, 0),
(97, 4, 96, 0, 20, 1),
(98, 4, 102, 0, 20, 4),
(99, 4, 121, 0, 20, 1),
(100, 4, 122, 0, 20, 4),
(101, 4, 100, 0, 20, 0),
(102, 4, 96, 0, 21, 1),
(103, 4, 102, 0, 21, 4),
(104, 4, 121, 0, 21, 1),
(105, 4, 122, 0, 21, 2),
(106, 4, 100, 0, 21, 0),
(107, 4, 96, 0, 22, 1),
(108, 4, 102, 0, 22, 4),
(109, 4, 121, 0, 22, 1),
(110, 4, 122, 0, 22, 2),
(111, 4, 100, 0, 22, 0),
(112, 4, 96, 0, 23, 1),
(113, 4, 102, 0, 23, 4),
(114, 4, 121, 0, 23, 1),
(115, 4, 122, 0, 23, 4),
(116, 4, 100, 0, 23, 0);

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

--
-- Table structure for table`mg_catalog_product_entity_media_gallery`
--

CREATE TABLE `mg_catalog_product_entity_media_gallery` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_MEDIA_GALLERY_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_MEDIA_GALLERY_ENTITY_ID` (`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Media Gallery Attribute Backend Table' AUTO_INCREMENT=24 ;

--
-- Dumping data for table 'mg_catalog_product_entity_media_gallery'
--

INSERT INTO `mg_catalog_product_entity_media_gallery` VALUES
(1, 88, 1, '/d/s/dscn7563.jpg'),
(2, 88, 2, '/a/_/a_bulb.jpg'),
(3, 88, 3, '/a/_/a_carpet.jpg'),
(4, 88, 4, '/a/_/a_elephant.jpg'),
(5, 88, 5, '/a/_/a_necklace.jpg'),
(6, 88, 6, '/a/_/a_shoppingbag.jpg'),
(7, 88, 7, '/a/_/a_sign.jpg'),
(8, 88, 8, '/a/_/a_stickynote.jpg'),
(9, 88, 9, '/a/_/a_stocking.jpg'),
(10, 88, 10, '/a/_/a_watertank.jpg'),
(11, 88, 11, '/g/_/g_album.jpg'),
(12, 88, 12, '/g/_/g_typewriter.jpg'),
(13, 88, 13, '/h/_/h_bench.jpg'),
(14, 88, 14, '/h/_/h_bookshelf.jpg'),
(15, 88, 15, '/h/_/h_clock.jpg'),
(16, 88, 16, '/h/_/h_ironchair.jpg'),
(17, 88, 17, '/h/_/h_lamp.jpg'),
(18, 88, 18, '/h/_/h_lamp2.jpg'),
(19, 88, 19, '/h/_/h_lvingroom.jpg'),
(20, 88, 20, '/h/_/h_screen.jpg'),
(21, 88, 21, '/h/_/h_shelf.jpg'),
(22, 88, 22, '/h/_/h_stool.jpg'),
(23, 88, 23, '/h/_/h_table.jpg');

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

--
-- Table structure for table`mg_catalog_product_entity_media_gallery_value`
--

CREATE TABLE `mg_catalog_product_entity_media_gallery_value` (
  `value_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Value ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `label` varchar(255) DEFAULT NULL COMMENT 'Label',
  `position` int(10) unsigned DEFAULT NULL COMMENT 'Position',
  `disabled` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Disabled',
  PRIMARY KEY (`value_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_MEDIA_GALLERY_VALUE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Media Gallery Attribute Value Table';

--
-- Dumping data for table 'mg_catalog_product_entity_media_gallery_value'
--

INSERT INTO `mg_catalog_product_entity_media_gallery_value` VALUES
(1, 0, NULL, 1, 0),
(2, 0, NULL, 1, 0),
(3, 0, NULL, 1, 0),
(4, 0, NULL, 1, 0),
(5, 0, NULL, 1, 0),
(6, 0, NULL, 1, 0),
(7, 0, NULL, 1, 0),
(8, 0, NULL, 1, 0),
(9, 0, NULL, 1, 0),
(10, 0, NULL, 1, 0),
(11, 0, NULL, 1, 0),
(12, 0, NULL, 1, 0),
(13, 0, NULL, 1, 0),
(14, 0, NULL, 1, 0),
(15, 0, NULL, 1, 0),
(16, 0, NULL, 1, 0),
(17, 0, NULL, 1, 0),
(18, 0, NULL, 1, 0),
(19, 0, NULL, 1, 0),
(20, 0, NULL, 1, 0),
(21, 0, NULL, 1, 0),
(22, 0, NULL, 1, 0),
(23, 0, NULL, 1, 0);

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

--
-- Table structure for table`mg_catalog_product_entity_text`
--

CREATE TABLE `mg_catalog_product_entity_text` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` text COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_TEXT_ENTT_ID_ATTR_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TEXT_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TEXT_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TEXT_ENTITY_ID` (`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Text Attribute Backend Table' AUTO_INCREMENT=129 ;

--
-- Dumping data for table 'mg_catalog_product_entity_text'
--

INSERT INTO `mg_catalog_product_entity_text` VALUES
(1, 4, 72, 0, 1, 'Designer chair is made of fine oak wood by reputed designer Herman Miller. It''s ergonomic design suits the natural shape of a human body.'),
(2, 4, 73, 0, 1, 'Herman Miller Arron Chair'),
(3, 4, 83, 0, 1, NULL),
(4, 4, 106, 0, 1, NULL),
(21, 4, 72, 0, 2, 'Lighting with passion. Enlighten your world with the warmth of sun-esque beams.'),
(22, 4, 73, 0, 2, 'Magic Lighting Bulbs'),
(23, 4, 83, 0, 2, NULL),
(24, 4, 106, 0, 2, NULL),
(29, 4, 72, 0, 3, 'Unbelievable soft carpets from the outer space'),
(30, 4, 73, 0, 3, 'Magic Carpets'),
(31, 4, 83, 0, 3, NULL),
(32, 4, 106, 0, 3, NULL),
(43, 4, 72, 0, 4, 'Marvelous paper elephant with healing effects'),
(44, 4, 73, 0, 4, 'Paper Elephant'),
(45, 4, 83, 0, 4, NULL),
(46, 4, 106, 0, 4, NULL),
(47, 4, 72, 0, 5, 'Necklace made of acient mammoth ivory.'),
(48, 4, 73, 0, 5, 'Mammoth Ivory Necklace'),
(49, 4, 83, 0, 5, NULL),
(50, 4, 106, 0, 5, NULL),
(53, 4, 72, 0, 6, 'It''s not a plastic bag! It''s an environmental friendly shopping bag.'),
(54, 4, 73, 0, 6, 'Eco-friendly Bag'),
(55, 4, 83, 0, 6, NULL),
(56, 4, 106, 0, 6, NULL),
(57, 4, 72, 0, 7, 'Decoration signs for a vibe living room'),
(58, 4, 73, 0, 7, 'Decoration Signs'),
(59, 4, 83, 0, 7, NULL),
(60, 4, 106, 0, 7, NULL),
(61, 4, 72, 0, 8, 'The most innovative Post-it in modern history'),
(62, 4, 73, 0, 8, 'Sticky Notes'),
(63, 4, 83, 0, 8, NULL),
(64, 4, 106, 0, 8, NULL),
(65, 4, 72, 0, 9, 'Artist inspired wool socks'),
(66, 4, 73, 0, 9, 'Wool Socks'),
(67, 4, 83, 0, 9, NULL),
(68, 4, 106, 0, 9, NULL),
(69, 4, 72, 0, 10, 'Crystal clear water tank for all ocean creatures'),
(70, 4, 73, 0, 10, 'Water Tank'),
(71, 4, 83, 0, 10, NULL),
(72, 4, 106, 0, 10, NULL),
(73, 4, 72, 0, 11, 'Revive your deepest memories. The one and only digital photo frame.'),
(74, 4, 73, 0, 11, 'Digital Photo Frame'),
(75, 4, 83, 0, 11, NULL),
(76, 4, 106, 0, 11, NULL),
(77, 4, 72, 0, 12, 'The beginning of modern communications.'),
(78, 4, 73, 0, 12, 'Typewriter'),
(79, 4, 83, 0, 12, NULL),
(80, 4, 106, 0, 12, NULL),
(81, 4, 72, 0, 13, 'Ergonomic bench designed by reputed modern sitting-chair pioneer.'),
(82, 4, 73, 0, 13, 'Bench'),
(83, 4, 83, 0, 13, NULL),
(84, 4, 106, 0, 13, NULL),
(85, 4, 72, 0, 14, 'The most solid bookshelf on earth'),
(86, 4, 73, 0, 14, 'Bookshelf'),
(87, 4, 83, 0, 14, NULL),
(88, 4, 106, 0, 14, NULL),
(89, 4, 72, 0, 15, 'Tic-tac'),
(90, 4, 73, 0, 15, 'Clock'),
(91, 4, 83, 0, 15, NULL),
(92, 4, 106, 0, 15, NULL),
(95, 4, 72, 0, 16, 'Heavy-duty chairs'),
(96, 4, 73, 0, 16, 'Metal Chair'),
(97, 4, 83, 0, 16, NULL),
(98, 4, 106, 0, 16, NULL),
(99, 4, 72, 0, 17, 'Moden lamp for living room'),
(100, 4, 73, 0, 17, 'Living Room Lamp'),
(101, 4, 83, 0, 17, NULL),
(102, 4, 106, 0, 17, NULL),
(103, 4, 72, 0, 18, 'Beautiful-rendered hollow lamp'),
(104, 4, 73, 0, 18, 'Hollow Lamp'),
(105, 4, 83, 0, 18, NULL),
(106, 4, 106, 0, 18, NULL),
(107, 4, 72, 0, 19, 'Furniture set for living room'),
(108, 4, 73, 0, 19, 'Living Room Set'),
(109, 4, 83, 0, 19, NULL),
(110, 4, 106, 0, 19, NULL),
(111, 4, 72, 0, 20, 'Innovative screen inspired by traditional Chinese home decor'),
(112, 4, 73, 0, 20, 'Feng Shui Screen'),
(113, 4, 83, 0, 20, NULL),
(114, 4, 106, 0, 20, NULL),
(115, 4, 72, 0, 21, 'Stainless-steel kitchen stand'),
(116, 4, 73, 0, 21, 'Kitchen Stand'),
(117, 4, 83, 0, 21, NULL),
(118, 4, 106, 0, 21, NULL),
(119, 4, 72, 0, 22, 'Retrospective chairs'),
(120, 4, 73, 0, 22, 'Classic Chair'),
(121, 4, 83, 0, 22, NULL),
(122, 4, 106, 0, 22, NULL),
(123, 4, 72, 0, 23, 'Colorful cabinet for office'),
(124, 4, 73, 0, 23, 'Office Cabinet'),
(125, 4, 83, 0, 23, NULL),
(126, 4, 106, 0, 23, NULL);

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

--
-- Table structure for table`mg_catalog_product_entity_tier_price`
--

CREATE TABLE `mg_catalog_product_entity_tier_price` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `all_groups` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Applicable To All Customer Groups',
  `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group ID',
  `qty` decimal(12,4) NOT NULL DEFAULT '1.0000' COMMENT 'QTY',
  `value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `3FF4BEC8AB3B414352A250AFA8B5BDBC` (`entity_id`,`all_groups`,`customer_group_id`,`qty`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TIER_PRICE_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TIER_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_TIER_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Tier Price Attribute Backend Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_entity_varchar`
--

CREATE TABLE `mg_catalog_product_entity_varchar` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `entity_type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_ENTT_VCHR_ENTT_ID_ATTR_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_VARCHAR_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_VARCHAR_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_ENTITY_VARCHAR_ENTITY_ID` (`entity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Varchar Attribute Backend Table' AUTO_INCREMENT=570 ;

--
-- Dumping data for table 'mg_catalog_product_entity_varchar'
--

INSERT INTO `mg_catalog_product_entity_varchar` VALUES
(1, 4, 71, 0, 1, 'Designer Chair'),
(2, 4, 97, 0, 1, 'designer-chair'),
(3, 4, 117, 0, 1, 'US'),
(4, 4, 118, 0, 1, '2'),
(5, 4, 119, 0, 1, '4'),
(6, 4, 82, 0, 1, NULL),
(7, 4, 84, 0, 1, NULL),
(8, 4, 85, 0, 1, '/d/s/dscn7563.jpg'),
(9, 4, 86, 0, 1, '/d/s/dscn7563.jpg'),
(10, 4, 87, 0, 1, '/d/s/dscn7563.jpg'),
(11, 4, 103, 0, 1, 'default/helloeuropa'),
(12, 4, 107, 0, 1, NULL),
(13, 4, 109, 0, 1, 'container2'),
(14, 4, 123, 0, 1, NULL),
(15, 4, 98, 1, 1, 'designer-chair.html'),
(16, 4, 98, 0, 1, 'designer-chair.html'),
(32, 4, 112, 0, 1, NULL),
(33, 4, 113, 0, 1, NULL),
(34, 4, 114, 0, 1, NULL),
(72, 4, 71, 0, 2, 'Lighting Bulbs'),
(73, 4, 97, 0, 2, 'lighting-bulbs'),
(74, 4, 117, 0, 2, NULL),
(75, 4, 118, 0, 2, '2'),
(76, 4, 119, 0, 2, '4'),
(77, 4, 82, 0, 2, NULL),
(78, 4, 84, 0, 2, NULL),
(79, 4, 85, 0, 2, '/a/_/a_bulb.jpg'),
(80, 4, 86, 0, 2, '/a/_/a_bulb.jpg'),
(81, 4, 87, 0, 2, '/a/_/a_bulb.jpg'),
(82, 4, 103, 0, 2, 'default/helloeuropa'),
(83, 4, 107, 0, 2, NULL),
(84, 4, 109, 0, 2, 'container2'),
(85, 4, 123, 0, 2, NULL),
(86, 4, 98, 1, 2, 'lighting-bulbs.html'),
(87, 4, 98, 0, 2, 'lighting-bulbs.html'),
(99, 4, 71, 0, 3, 'Carpets'),
(100, 4, 97, 0, 3, 'carpets'),
(101, 4, 117, 0, 3, NULL),
(102, 4, 118, 0, 3, '2'),
(103, 4, 119, 0, 3, '4'),
(104, 4, 82, 0, 3, NULL),
(105, 4, 84, 0, 3, NULL),
(106, 4, 85, 0, 3, '/a/_/a_carpet.jpg'),
(107, 4, 86, 0, 3, '/a/_/a_carpet.jpg'),
(108, 4, 87, 0, 3, '/a/_/a_carpet.jpg'),
(109, 4, 103, 0, 3, NULL),
(110, 4, 107, 0, 3, NULL),
(111, 4, 109, 0, 3, 'container2'),
(112, 4, 123, 0, 3, NULL),
(113, 4, 112, 0, 3, NULL),
(114, 4, 113, 0, 3, NULL),
(115, 4, 114, 0, 3, NULL),
(116, 4, 98, 1, 3, 'carpets.html'),
(117, 4, 98, 0, 3, 'carpets.html'),
(127, 4, 112, 0, 2, NULL),
(128, 4, 113, 0, 2, NULL),
(129, 4, 114, 0, 2, NULL),
(163, 4, 71, 0, 4, 'Paper Elephant'),
(164, 4, 97, 0, 4, 'paper-elephant'),
(165, 4, 117, 0, 4, NULL),
(166, 4, 118, 0, 4, '2'),
(167, 4, 119, 0, 4, '4'),
(168, 4, 82, 0, 4, NULL),
(169, 4, 84, 0, 4, NULL),
(170, 4, 85, 0, 4, '/a/_/a_elephant.jpg'),
(171, 4, 86, 0, 4, '/a/_/a_elephant.jpg'),
(172, 4, 87, 0, 4, '/a/_/a_elephant.jpg'),
(173, 4, 103, 0, 4, NULL),
(174, 4, 107, 0, 4, NULL),
(175, 4, 109, 0, 4, 'container2'),
(176, 4, 123, 0, 4, NULL),
(177, 4, 112, 0, 4, NULL),
(178, 4, 113, 0, 4, NULL),
(179, 4, 114, 0, 4, NULL),
(180, 4, 98, 1, 4, 'paper-elephant.html'),
(181, 4, 98, 0, 4, 'paper-elephant.html'),
(182, 4, 71, 0, 5, 'Ivory Necklace'),
(183, 4, 97, 0, 5, 'ivory-necklace'),
(184, 4, 117, 0, 5, NULL),
(185, 4, 118, 0, 5, '2'),
(186, 4, 119, 0, 5, '4'),
(187, 4, 82, 0, 5, NULL),
(188, 4, 84, 0, 5, NULL),
(189, 4, 85, 0, 5, '/a/_/a_necklace.jpg'),
(190, 4, 86, 0, 5, '/a/_/a_necklace.jpg'),
(191, 4, 87, 0, 5, '/a/_/a_necklace.jpg'),
(192, 4, 103, 0, 5, NULL),
(193, 4, 107, 0, 5, 'homepage'),
(194, 4, 109, 0, 5, 'container2'),
(195, 4, 123, 0, 5, NULL),
(196, 4, 112, 0, 5, NULL),
(197, 4, 113, 0, 5, NULL),
(198, 4, 114, 0, 5, NULL),
(199, 4, 98, 1, 5, 'ivory-necklace.html'),
(200, 4, 98, 0, 5, 'ivory-necklace.html'),
(210, 4, 71, 0, 6, 'Environmental Friendly Shopping Bag'),
(211, 4, 97, 0, 6, 'environmental-friendly-shopping-bag'),
(212, 4, 117, 0, 6, NULL),
(213, 4, 118, 0, 6, '2'),
(214, 4, 119, 0, 6, '4'),
(215, 4, 82, 0, 6, NULL),
(216, 4, 84, 0, 6, NULL),
(217, 4, 85, 0, 6, '/a/_/a_shoppingbag.jpg'),
(218, 4, 86, 0, 6, '/a/_/a_shoppingbag.jpg'),
(219, 4, 87, 0, 6, '/a/_/a_shoppingbag.jpg'),
(220, 4, 103, 0, 6, 'default/helloeuropa'),
(221, 4, 107, 0, 6, 'homepage'),
(222, 4, 109, 0, 6, 'container2'),
(223, 4, 123, 0, 6, NULL),
(224, 4, 112, 0, 6, NULL),
(225, 4, 113, 0, 6, NULL),
(226, 4, 114, 0, 6, NULL),
(227, 4, 98, 1, 6, 'environmental-friendly-shopping-bag.html'),
(228, 4, 98, 0, 6, 'environmental-friendly-shopping-bag.html'),
(229, 4, 71, 0, 7, 'Living Room Art'),
(230, 4, 97, 0, 7, 'living-room-art'),
(231, 4, 117, 0, 7, NULL),
(232, 4, 118, 0, 7, '2'),
(233, 4, 119, 0, 7, '4'),
(234, 4, 82, 0, 7, NULL),
(235, 4, 84, 0, 7, NULL),
(236, 4, 85, 0, 7, '/a/_/a_sign.jpg'),
(237, 4, 86, 0, 7, '/a/_/a_sign.jpg'),
(238, 4, 87, 0, 7, '/a/_/a_sign.jpg'),
(239, 4, 103, 0, 7, NULL),
(240, 4, 107, 0, 7, NULL),
(241, 4, 109, 0, 7, 'container2'),
(242, 4, 123, 0, 7, NULL),
(243, 4, 112, 0, 7, NULL),
(244, 4, 113, 0, 7, NULL),
(245, 4, 114, 0, 7, NULL),
(246, 4, 98, 1, 7, 'living-room-art.html'),
(247, 4, 98, 0, 7, 'living-room-art.html'),
(248, 4, 71, 0, 8, 'Sticky Notes'),
(249, 4, 97, 0, 8, 'sticky-notes'),
(250, 4, 117, 0, 8, NULL),
(251, 4, 118, 0, 8, '2'),
(252, 4, 119, 0, 8, '4'),
(253, 4, 82, 0, 8, NULL),
(254, 4, 84, 0, 8, NULL),
(255, 4, 85, 0, 8, '/a/_/a_stickynote.jpg'),
(256, 4, 86, 0, 8, '/a/_/a_stickynote.jpg'),
(257, 4, 87, 0, 8, '/a/_/a_stickynote.jpg'),
(258, 4, 103, 0, 8, NULL),
(259, 4, 107, 0, 8, NULL),
(260, 4, 109, 0, 8, 'container2'),
(261, 4, 123, 0, 8, NULL),
(262, 4, 112, 0, 8, NULL),
(263, 4, 113, 0, 8, NULL),
(264, 4, 114, 0, 8, NULL),
(265, 4, 98, 1, 8, 'sticky-notes.html'),
(266, 4, 98, 0, 8, 'sticky-notes.html'),
(267, 4, 71, 0, 9, 'Wool Socks'),
(268, 4, 97, 0, 9, 'wool-socks'),
(269, 4, 117, 0, 9, NULL),
(270, 4, 118, 0, 9, '2'),
(271, 4, 119, 0, 9, '4'),
(272, 4, 82, 0, 9, NULL),
(273, 4, 84, 0, 9, NULL),
(274, 4, 85, 0, 9, '/a/_/a_stocking.jpg'),
(275, 4, 86, 0, 9, '/a/_/a_stocking.jpg'),
(276, 4, 87, 0, 9, '/a/_/a_stocking.jpg'),
(277, 4, 103, 0, 9, NULL),
(278, 4, 107, 0, 9, NULL),
(279, 4, 109, 0, 9, 'container2'),
(280, 4, 123, 0, 9, NULL),
(281, 4, 112, 0, 9, NULL),
(282, 4, 113, 0, 9, NULL),
(283, 4, 114, 0, 9, NULL),
(284, 4, 98, 1, 9, 'wool-socks.html'),
(285, 4, 98, 0, 9, 'wool-socks.html'),
(286, 4, 71, 0, 10, 'Water Tank'),
(287, 4, 97, 0, 10, 'water-tank'),
(288, 4, 117, 0, 10, NULL),
(289, 4, 118, 0, 10, '2'),
(290, 4, 119, 0, 10, '4'),
(291, 4, 82, 0, 10, NULL),
(292, 4, 84, 0, 10, NULL),
(293, 4, 85, 0, 10, '/a/_/a_watertank.jpg'),
(294, 4, 86, 0, 10, '/a/_/a_watertank.jpg'),
(295, 4, 87, 0, 10, '/a/_/a_watertank.jpg'),
(296, 4, 103, 0, 10, NULL),
(297, 4, 107, 0, 10, NULL),
(298, 4, 109, 0, 10, 'container2'),
(299, 4, 123, 0, 10, NULL),
(300, 4, 112, 0, 10, NULL),
(301, 4, 113, 0, 10, NULL),
(302, 4, 114, 0, 10, NULL),
(303, 4, 98, 1, 10, 'water-tank.html'),
(304, 4, 98, 0, 10, 'water-tank.html'),
(305, 4, 71, 0, 11, 'Digital Photo Frame'),
(306, 4, 97, 0, 11, 'digital-photo-frame'),
(307, 4, 117, 0, 11, NULL),
(308, 4, 118, 0, 11, '2'),
(309, 4, 119, 0, 11, '4'),
(310, 4, 82, 0, 11, NULL),
(311, 4, 84, 0, 11, NULL),
(312, 4, 85, 0, 11, '/g/_/g_album.jpg'),
(313, 4, 86, 0, 11, '/g/_/g_album.jpg'),
(314, 4, 87, 0, 11, '/g/_/g_album.jpg'),
(315, 4, 103, 0, 11, NULL),
(316, 4, 107, 0, 11, NULL),
(317, 4, 109, 0, 11, 'container2'),
(318, 4, 123, 0, 11, NULL),
(319, 4, 112, 0, 11, NULL),
(320, 4, 113, 0, 11, NULL),
(321, 4, 114, 0, 11, NULL),
(322, 4, 98, 1, 11, 'digital-photo-frame.html'),
(323, 4, 98, 0, 11, 'digital-photo-frame.html'),
(324, 4, 71, 0, 12, 'Typewriter'),
(325, 4, 97, 0, 12, 'typewriter'),
(326, 4, 117, 0, 12, NULL),
(327, 4, 118, 0, 12, '2'),
(328, 4, 119, 0, 12, '4'),
(329, 4, 82, 0, 12, NULL),
(330, 4, 84, 0, 12, NULL),
(331, 4, 85, 0, 12, '/g/_/g_typewriter.jpg'),
(332, 4, 86, 0, 12, '/g/_/g_typewriter.jpg'),
(333, 4, 87, 0, 12, '/g/_/g_typewriter.jpg'),
(334, 4, 103, 0, 12, NULL),
(335, 4, 107, 0, 12, NULL),
(336, 4, 109, 0, 12, 'container2'),
(337, 4, 123, 0, 12, NULL),
(338, 4, 112, 0, 12, NULL),
(339, 4, 113, 0, 12, NULL),
(340, 4, 114, 0, 12, NULL),
(341, 4, 98, 1, 12, 'typewriter.html'),
(342, 4, 98, 0, 12, 'typewriter.html'),
(343, 4, 71, 0, 13, 'Bench'),
(344, 4, 97, 0, 13, 'bench'),
(345, 4, 117, 0, 13, NULL),
(346, 4, 118, 0, 13, '2'),
(347, 4, 119, 0, 13, '4'),
(348, 4, 82, 0, 13, NULL),
(349, 4, 84, 0, 13, NULL),
(350, 4, 85, 0, 13, '/h/_/h_bench.jpg'),
(351, 4, 86, 0, 13, '/h/_/h_bench.jpg'),
(352, 4, 87, 0, 13, '/h/_/h_bench.jpg'),
(353, 4, 103, 0, 13, NULL),
(354, 4, 107, 0, 13, NULL),
(355, 4, 109, 0, 13, 'container2'),
(356, 4, 123, 0, 13, NULL),
(357, 4, 112, 0, 13, NULL),
(358, 4, 113, 0, 13, NULL),
(359, 4, 114, 0, 13, NULL),
(360, 4, 98, 1, 13, 'bench.html'),
(361, 4, 98, 0, 13, 'bench.html'),
(362, 4, 71, 0, 14, 'Bookshelf'),
(363, 4, 97, 0, 14, 'bookshelf'),
(364, 4, 117, 0, 14, NULL),
(365, 4, 118, 0, 14, '2'),
(366, 4, 119, 0, 14, '4'),
(367, 4, 82, 0, 14, NULL),
(368, 4, 84, 0, 14, NULL),
(369, 4, 85, 0, 14, '/h/_/h_bookshelf.jpg'),
(370, 4, 86, 0, 14, '/h/_/h_bookshelf.jpg'),
(371, 4, 87, 0, 14, '/h/_/h_bookshelf.jpg'),
(372, 4, 103, 0, 14, NULL),
(373, 4, 107, 0, 14, NULL),
(374, 4, 109, 0, 14, 'container2'),
(375, 4, 123, 0, 14, NULL),
(376, 4, 112, 0, 14, NULL),
(377, 4, 113, 0, 14, NULL),
(378, 4, 114, 0, 14, NULL),
(379, 4, 98, 1, 14, 'bookshelf.html'),
(380, 4, 98, 0, 14, 'bookshelf.html'),
(381, 4, 71, 0, 15, 'Clock'),
(382, 4, 97, 0, 15, 'clock'),
(383, 4, 117, 0, 15, NULL),
(384, 4, 118, 0, 15, '2'),
(385, 4, 119, 0, 15, '4'),
(386, 4, 82, 0, 15, NULL),
(387, 4, 84, 0, 15, NULL),
(388, 4, 85, 0, 15, '/h/_/h_clock.jpg'),
(389, 4, 86, 0, 15, '/h/_/h_clock.jpg'),
(390, 4, 87, 0, 15, '/h/_/h_clock.jpg'),
(391, 4, 103, 0, 15, NULL),
(392, 4, 107, 0, 15, NULL),
(393, 4, 109, 0, 15, 'container2'),
(394, 4, 123, 0, 15, NULL),
(395, 4, 112, 0, 15, NULL),
(396, 4, 113, 0, 15, NULL),
(397, 4, 114, 0, 15, NULL),
(398, 4, 98, 1, 15, 'clock.html'),
(399, 4, 98, 0, 15, 'clock.html'),
(409, 4, 71, 0, 16, 'Metal Chair'),
(410, 4, 97, 0, 16, 'metal-chair'),
(411, 4, 117, 0, 16, NULL),
(412, 4, 118, 0, 16, '2'),
(413, 4, 119, 0, 16, '4'),
(414, 4, 82, 0, 16, NULL),
(415, 4, 84, 0, 16, NULL),
(416, 4, 85, 0, 16, '/h/_/h_ironchair.jpg'),
(417, 4, 86, 0, 16, '/h/_/h_ironchair.jpg'),
(418, 4, 87, 0, 16, '/h/_/h_ironchair.jpg'),
(419, 4, 103, 0, 16, NULL),
(420, 4, 107, 0, 16, NULL),
(421, 4, 109, 0, 16, 'container2'),
(422, 4, 123, 0, 16, NULL),
(423, 4, 112, 0, 16, NULL),
(424, 4, 113, 0, 16, NULL),
(425, 4, 114, 0, 16, NULL),
(426, 4, 98, 1, 16, 'metal-chair.html'),
(427, 4, 98, 0, 16, 'metal-chair.html'),
(428, 4, 71, 0, 17, 'Decor Lamp'),
(429, 4, 97, 0, 17, 'decor-lamp'),
(430, 4, 117, 0, 17, NULL),
(431, 4, 118, 0, 17, '2'),
(432, 4, 119, 0, 17, '4'),
(433, 4, 82, 0, 17, NULL),
(434, 4, 84, 0, 17, NULL),
(435, 4, 85, 0, 17, '/h/_/h_lamp.jpg'),
(436, 4, 86, 0, 17, '/h/_/h_lamp.jpg'),
(437, 4, 87, 0, 17, '/h/_/h_lamp.jpg'),
(438, 4, 103, 0, 17, NULL),
(439, 4, 107, 0, 17, NULL),
(440, 4, 109, 0, 17, 'container2'),
(441, 4, 123, 0, 17, NULL),
(442, 4, 112, 0, 17, NULL),
(443, 4, 113, 0, 17, NULL),
(444, 4, 114, 0, 17, NULL),
(445, 4, 98, 1, 17, 'decor-lamp.html'),
(446, 4, 98, 0, 17, 'decor-lamp.html'),
(447, 4, 71, 0, 18, 'Artistic Lamp'),
(448, 4, 97, 0, 18, 'artistic-lamp'),
(449, 4, 117, 0, 18, NULL),
(450, 4, 118, 0, 18, '2'),
(451, 4, 119, 0, 18, '4'),
(452, 4, 82, 0, 18, NULL),
(453, 4, 84, 0, 18, NULL),
(454, 4, 85, 0, 18, '/h/_/h_lamp2.jpg'),
(455, 4, 86, 0, 18, '/h/_/h_lamp2.jpg'),
(456, 4, 87, 0, 18, '/h/_/h_lamp2.jpg'),
(457, 4, 103, 0, 18, NULL),
(458, 4, 107, 0, 18, NULL),
(459, 4, 109, 0, 18, 'container2'),
(460, 4, 123, 0, 18, NULL),
(461, 4, 112, 0, 18, NULL),
(462, 4, 113, 0, 18, NULL),
(463, 4, 114, 0, 18, NULL),
(464, 4, 98, 1, 18, 'artistic-lamp.html'),
(465, 4, 98, 0, 18, 'artistic-lamp.html'),
(466, 4, 71, 0, 19, 'Living Room Set'),
(467, 4, 97, 0, 19, 'living-room-set'),
(468, 4, 117, 0, 19, NULL),
(469, 4, 118, 0, 19, '2'),
(470, 4, 119, 0, 19, '4'),
(471, 4, 82, 0, 19, NULL),
(472, 4, 84, 0, 19, NULL),
(473, 4, 85, 0, 19, '/h/_/h_lvingroom.jpg'),
(474, 4, 86, 0, 19, '/h/_/h_lvingroom.jpg'),
(475, 4, 87, 0, 19, '/h/_/h_lvingroom.jpg'),
(476, 4, 103, 0, 19, NULL),
(477, 4, 107, 0, 19, NULL),
(478, 4, 109, 0, 19, 'container2'),
(479, 4, 123, 0, 19, NULL),
(480, 4, 112, 0, 19, NULL),
(481, 4, 113, 0, 19, NULL),
(482, 4, 114, 0, 19, NULL),
(483, 4, 98, 1, 19, 'living-room-set.html'),
(484, 4, 98, 0, 19, 'living-room-set.html'),
(485, 4, 71, 0, 20, 'Feng Shui Screen'),
(486, 4, 97, 0, 20, 'feng-shui-screen'),
(487, 4, 117, 0, 20, NULL),
(488, 4, 118, 0, 20, '2'),
(489, 4, 119, 0, 20, '4'),
(490, 4, 82, 0, 20, NULL),
(491, 4, 84, 0, 20, NULL),
(492, 4, 86, 0, 20, '/h/_/h_screen.jpg'),
(493, 4, 85, 0, 20, '/h/_/h_screen.jpg'),
(494, 4, 87, 0, 20, '/h/_/h_screen.jpg'),
(495, 4, 103, 0, 20, NULL),
(496, 4, 107, 0, 20, NULL),
(497, 4, 109, 0, 20, 'container2'),
(498, 4, 123, 0, 20, NULL),
(499, 4, 112, 0, 20, NULL),
(500, 4, 114, 0, 20, NULL),
(501, 4, 98, 1, 20, 'feng-shui-screen.html'),
(502, 4, 98, 0, 20, 'feng-shui-screen.html'),
(503, 4, 71, 0, 21, 'Kitchen Stand'),
(504, 4, 97, 0, 21, 'kitchen-stand'),
(505, 4, 117, 0, 21, NULL),
(506, 4, 118, 0, 21, '2'),
(507, 4, 119, 0, 21, '4'),
(508, 4, 82, 0, 21, NULL),
(509, 4, 84, 0, 21, NULL),
(510, 4, 85, 0, 21, '/h/_/h_shelf.jpg'),
(511, 4, 86, 0, 21, '/h/_/h_shelf.jpg'),
(512, 4, 87, 0, 21, '/h/_/h_shelf.jpg'),
(513, 4, 103, 0, 21, NULL),
(514, 4, 107, 0, 21, NULL),
(515, 4, 109, 0, 21, 'container2'),
(516, 4, 123, 0, 21, NULL),
(517, 4, 112, 0, 21, NULL),
(518, 4, 113, 0, 21, NULL),
(519, 4, 114, 0, 21, NULL),
(520, 4, 98, 1, 21, 'kitchen-stand.html'),
(521, 4, 98, 0, 21, 'kitchen-stand.html'),
(522, 4, 71, 0, 22, 'Classic Chair'),
(523, 4, 97, 0, 22, 'classic-chair'),
(524, 4, 117, 0, 22, NULL),
(525, 4, 118, 0, 22, '2'),
(526, 4, 119, 0, 22, '4'),
(527, 4, 82, 0, 22, NULL),
(528, 4, 84, 0, 22, NULL),
(529, 4, 85, 0, 22, '/h/_/h_stool.jpg'),
(530, 4, 86, 0, 22, '/h/_/h_stool.jpg'),
(531, 4, 87, 0, 22, '/h/_/h_stool.jpg'),
(532, 4, 103, 0, 22, NULL),
(533, 4, 107, 0, 22, NULL),
(534, 4, 109, 0, 22, 'container2'),
(535, 4, 123, 0, 22, NULL),
(536, 4, 112, 0, 22, NULL),
(537, 4, 113, 0, 22, NULL),
(538, 4, 114, 0, 22, NULL),
(539, 4, 98, 1, 22, 'classic-chair.html'),
(540, 4, 98, 0, 22, 'classic-chair.html'),
(541, 4, 71, 0, 23, 'Office Cabinet'),
(542, 4, 97, 0, 23, 'office-cabinet'),
(543, 4, 117, 0, 23, NULL),
(544, 4, 118, 0, 23, '2'),
(545, 4, 119, 0, 23, '4'),
(546, 4, 82, 0, 23, NULL),
(547, 4, 84, 0, 23, NULL),
(548, 4, 85, 0, 23, '/h/_/h_table.jpg'),
(549, 4, 86, 0, 23, '/h/_/h_table.jpg'),
(550, 4, 87, 0, 23, '/h/_/h_table.jpg'),
(551, 4, 103, 0, 23, NULL),
(552, 4, 107, 0, 23, NULL),
(553, 4, 109, 0, 23, 'container2'),
(554, 4, 123, 0, 23, NULL),
(555, 4, 112, 0, 23, NULL),
(556, 4, 113, 0, 23, NULL),
(557, 4, 114, 0, 23, NULL),
(558, 4, 98, 1, 23, 'office-cabinet.html'),
(559, 4, 98, 0, 23, 'office-cabinet.html'),
(560, 4, 113, 0, 20, NULL);

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

--
-- Table structure for table`mg_catalog_product_flat_1`
--

CREATE TABLE `mg_catalog_product_flat_1` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'entity_id',
  `attribute_set_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'attribute_set_id',
  `type_id` varchar(32) NOT NULL DEFAULT 'simple' COMMENT 'type_id',
  `cost` decimal(12,4) DEFAULT NULL COMMENT 'cost',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'created_at',
  `enable_googlecheckout` smallint(6) DEFAULT NULL COMMENT 'enable_googlecheckout',
  `gift_message_available` smallint(6) DEFAULT NULL COMMENT 'gift_message_available',
  `has_options` smallint(6) NOT NULL DEFAULT '0' COMMENT 'has_options',
  `image_label` varchar(255) DEFAULT NULL COMMENT 'image_label',
  `is_recurring` smallint(6) DEFAULT NULL COMMENT 'is_recurring',
  `links_exist` int(11) DEFAULT NULL COMMENT 'links_exist',
  `links_purchased_separately` int(11) DEFAULT NULL COMMENT 'links_purchased_separately',
  `links_title` varchar(255) DEFAULT NULL COMMENT 'links_title',
  `msrp` decimal(12,4) DEFAULT NULL COMMENT 'msrp',
  `msrp_display_actual_price_type` varchar(255) DEFAULT NULL COMMENT 'msrp_display_actual_price_type',
  `msrp_enabled` smallint(6) DEFAULT NULL COMMENT 'msrp_enabled',
  `name` varchar(255) DEFAULT NULL COMMENT 'name',
  `news_from_date` datetime DEFAULT NULL COMMENT 'news_from_date',
  `news_to_date` datetime DEFAULT NULL COMMENT 'news_to_date',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'price',
  `price_type` int(11) DEFAULT NULL COMMENT 'price_type',
  `price_view` int(11) DEFAULT NULL COMMENT 'price_view',
  `recurring_profile` text COMMENT 'recurring_profile',
  `required_options` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'required_options',
  `shipment_type` int(11) DEFAULT NULL COMMENT 'shipment_type',
  `short_description` text COMMENT 'short_description',
  `sku` varchar(64) DEFAULT NULL COMMENT 'sku',
  `sku_type` int(11) DEFAULT NULL COMMENT 'sku_type',
  `small_image` varchar(255) DEFAULT NULL COMMENT 'small_image',
  `small_image_label` varchar(255) DEFAULT NULL COMMENT 'small_image_label',
  `special_from_date` datetime DEFAULT NULL COMMENT 'special_from_date',
  `special_price` decimal(12,4) DEFAULT NULL COMMENT 'special_price',
  `special_to_date` datetime DEFAULT NULL COMMENT 'special_to_date',
  `tax_class_id` int(10) unsigned DEFAULT NULL COMMENT 'tax_class_id',
  `thumbnail` varchar(255) DEFAULT NULL COMMENT 'thumbnail',
  `thumbnail_label` varchar(255) DEFAULT NULL COMMENT 'thumbnail_label',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'updated_at',
  `url_key` varchar(255) DEFAULT NULL COMMENT 'url_key',
  `url_path` varchar(255) DEFAULT NULL COMMENT 'url_path',
  `visibility` smallint(5) unsigned DEFAULT NULL COMMENT 'visibility',
  `weight` decimal(12,4) DEFAULT NULL COMMENT 'weight',
  `weight_type` int(11) DEFAULT NULL COMMENT 'weight_type',
  PRIMARY KEY (`entity_id`),
  KEY `IDX_MG_CATALOG_PRODUCT_FLAT_1_TYPE_ID` (`type_id`),
  KEY `IDX_MG_CATALOG_PRODUCT_FLAT_1_ATTRIBUTE_SET_ID` (`attribute_set_id`),
  KEY `IDX_MG_CATALOG_PRODUCT_FLAT_1_NAME` (`name`),
  KEY `IDX_MG_CATALOG_PRODUCT_FLAT_1_PRICE` (`price`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Flat (Store 1)';

--
-- Dumping data for table 'mg_catalog_product_flat_1'
--

INSERT INTO `mg_catalog_product_flat_1` VALUES
(2, 4, 'simple', NULL, '2013-01-31 16:26:22', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Lighting Bulbs', NULL, NULL, 15.0000, NULL, NULL, NULL, 0, NULL, 'Magic Lighting Bulbs', 'A0000001', NULL, '/a/_/a_bulb.jpg', NULL, NULL, NULL, NULL, 2, '/a/_/a_bulb.jpg', NULL, '2013-01-31 16:48:10', 'lighting-bulbs', 'lighting-bulbs.html', 4, 4.0000, NULL),
(3, 4, 'simple', NULL, '2013-01-31 16:39:16', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Carpets', NULL, NULL, 145.0000, NULL, NULL, NULL, 0, NULL, 'Magic Carpets', 'A0000002', NULL, '/a/_/a_carpet.jpg', NULL, NULL, NULL, NULL, 4, '/a/_/a_carpet.jpg', NULL, '2013-01-31 16:45:33', 'carpets', 'carpets.html', 4, 2.0000, NULL),
(4, 4, 'simple', NULL, '2013-01-31 16:54:31', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Paper Elephant', NULL, NULL, 300.0000, NULL, NULL, NULL, 0, NULL, 'Paper Elephant', 'A0000003', NULL, '/a/_/a_elephant.jpg', NULL, '2013-01-31 00:00:00', 175.0000, NULL, 4, '/a/_/a_elephant.jpg', NULL, '2013-01-31 16:54:31', 'paper-elephant', 'paper-elephant.html', 4, 0.5000, NULL),
(5, 4, 'simple', NULL, '2013-01-31 16:58:59', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Ivory Necklace', NULL, NULL, 1000.0000, NULL, NULL, NULL, 0, NULL, 'Mammoth Ivory Necklace', 'A0000004', NULL, '/a/_/a_necklace.jpg', NULL, '2013-01-31 00:00:00', 850.0000, NULL, 4, '/a/_/a_necklace.jpg', NULL, '2013-01-31 17:00:10', 'ivory-necklace', 'ivory-necklace.html', 4, 1.0000, NULL),
(6, 4, 'simple', NULL, '2013-01-31 17:24:20', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Environmental Friendly Shopping Bag', NULL, NULL, 25.0000, NULL, NULL, NULL, 0, NULL, 'Eco-friendly Bag', 'A0000005', NULL, '/a/_/a_shoppingbag.jpg', NULL, NULL, NULL, NULL, 4, '/a/_/a_shoppingbag.jpg', NULL, '2013-01-31 17:24:20', 'environmental-friendly-shopping-bag', 'environmental-friendly-shopping-bag.html', 4, 0.1000, NULL),
(7, 4, 'simple', NULL, '2013-01-31 17:56:14', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Living Room Art', NULL, NULL, 35.0000, NULL, NULL, NULL, 0, NULL, 'Decoration Signs', 'A0000007', NULL, '/a/_/a_sign.jpg', NULL, '2013-01-31 00:00:00', 20.0000, NULL, 4, '/a/_/a_sign.jpg', NULL, '2013-01-31 17:56:14', 'living-room-art', 'living-room-art.html', 4, 0.7000, NULL),
(8, 4, 'simple', NULL, '2013-01-31 17:58:43', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Sticky Notes', NULL, NULL, 10.0000, NULL, NULL, NULL, 0, NULL, 'Sticky Notes', 'A0000008', NULL, '/a/_/a_stickynote.jpg', NULL, NULL, NULL, NULL, 2, '/a/_/a_stickynote.jpg', NULL, '2013-01-31 17:58:43', 'sticky-notes', 'sticky-notes.html', 4, 0.0500, NULL),
(9, 4, 'simple', NULL, '2013-01-31 18:02:22', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Wool Socks', NULL, NULL, 17.5000, NULL, NULL, NULL, 0, NULL, 'Wool Socks', 'A0000009', NULL, '/a/_/a_stocking.jpg', NULL, '2013-01-31 00:00:00', 11.5000, NULL, 2, '/a/_/a_stocking.jpg', NULL, '2013-01-31 18:02:22', 'wool-socks', 'wool-socks.html', 4, 0.0200, NULL),
(10, 4, 'simple', NULL, '2013-01-31 18:05:15', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Water Tank', NULL, NULL, 50.0000, NULL, NULL, NULL, 0, NULL, 'Water Tank', 'A0000010', NULL, '/a/_/a_watertank.jpg', NULL, NULL, NULL, NULL, 4, '/a/_/a_watertank.jpg', NULL, '2013-01-31 18:05:15', 'water-tank', 'water-tank.html', 4, 10.0000, NULL),
(11, 4, 'simple', NULL, '2013-01-31 18:09:48', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Digital Photo Frame', NULL, NULL, 20.0000, NULL, NULL, NULL, 0, NULL, 'Digital Photo Frame', 'G0000001', NULL, '/g/_/g_album.jpg', NULL, NULL, NULL, NULL, 4, '/g/_/g_album.jpg', NULL, '2013-01-31 18:09:48', 'digital-photo-frame', 'digital-photo-frame.html', 4, 0.8000, NULL),
(12, 4, 'simple', NULL, '2013-01-31 18:13:07', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Typewriter', NULL, NULL, 1300.0000, NULL, NULL, NULL, 0, NULL, 'Typewriter', 'G0000002', NULL, '/g/_/g_typewriter.jpg', NULL, '2013-01-31 00:00:00', 999.0000, NULL, 4, '/g/_/g_typewriter.jpg', NULL, '2013-01-31 18:13:07', 'typewriter', 'typewriter.html', 4, 30.0000, NULL),
(13, 4, 'simple', NULL, '2013-01-31 18:16:45', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Bench', NULL, NULL, 350.0000, NULL, NULL, NULL, 0, NULL, 'Bench', 'H0000001', NULL, '/h/_/h_bench.jpg', NULL, NULL, NULL, NULL, 4, '/h/_/h_bench.jpg', NULL, '2013-01-31 18:16:45', 'bench', 'bench.html', 4, 18.0000, NULL),
(14, 4, 'simple', NULL, '2013-01-31 18:20:58', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Bookshelf', NULL, NULL, 75.0000, NULL, NULL, NULL, 0, NULL, 'Bookshelf', 'H0000002', NULL, '/h/_/h_bookshelf.jpg', NULL, NULL, NULL, NULL, 2, '/h/_/h_bookshelf.jpg', NULL, '2013-01-31 18:20:58', 'bookshelf', 'bookshelf.html', 4, 4.0000, NULL),
(15, 4, 'simple', NULL, '2013-01-31 18:23:10', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Clock', NULL, NULL, 110.0000, NULL, NULL, NULL, 0, NULL, 'Clock', 'H0000003', NULL, '/h/_/h_clock.jpg', NULL, '2013-01-31 00:00:00', 79.0000, NULL, 2, '/h/_/h_clock.jpg', NULL, '2013-01-31 18:24:10', 'clock', 'clock.html', 4, 1.2000, NULL),
(16, 4, 'simple', NULL, '2013-01-31 18:27:14', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Metal Chair', NULL, NULL, 65.0000, NULL, NULL, NULL, 0, NULL, 'Metal Chair', 'H0000004', NULL, '/h/_/h_ironchair.jpg', NULL, NULL, NULL, NULL, 4, '/h/_/h_ironchair.jpg', NULL, '2013-01-31 18:27:14', 'metal-chair', 'metal-chair.html', 4, 8.0000, NULL),
(17, 4, 'simple', NULL, '2013-01-31 18:31:11', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Decor Lamp', NULL, NULL, 120.0000, NULL, NULL, NULL, 0, NULL, 'Living Room Lamp', 'H0000005', NULL, '/h/_/h_lamp.jpg', NULL, '2013-01-31 00:00:00', 69.0000, NULL, 4, '/h/_/h_lamp.jpg', NULL, '2013-01-31 18:31:11', 'decor-lamp', 'decor-lamp.html', 4, 2.5000, NULL),
(18, 4, 'simple', NULL, '2013-01-31 18:35:35', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Artistic Lamp', NULL, NULL, 55.0000, NULL, NULL, NULL, 0, NULL, 'Hollow Lamp', 'H0000006', NULL, '/h/_/h_lamp2.jpg', NULL, NULL, NULL, NULL, 4, '/h/_/h_lamp2.jpg', NULL, '2013-01-31 18:35:35', 'artistic-lamp', 'artistic-lamp.html', 4, 2.4000, NULL),
(19, 4, 'simple', NULL, '2013-01-31 18:38:31', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Living Room Set', NULL, NULL, 2250.0000, NULL, NULL, NULL, 0, NULL, 'Living Room Set', 'H0000007', NULL, '/h/_/h_lvingroom.jpg', NULL, '2013-01-31 00:00:00', 999.0000, NULL, 4, '/h/_/h_lvingroom.jpg', NULL, '2013-01-31 18:38:31', 'living-room-set', 'living-room-set.html', 4, 50.0000, NULL),
(20, 4, 'simple', NULL, '2013-01-31 18:42:09', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Feng Shui Screen', NULL, NULL, 800.0000, NULL, NULL, NULL, 0, NULL, 'Feng Shui Screen', 'H0000008', NULL, '/h/_/h_screen.jpg', NULL, NULL, NULL, NULL, 4, '/h/_/h_screen.jpg', NULL, '2013-01-31 18:51:44', 'feng-shui-screen', 'feng-shui-screen.html', 4, 80.0000, NULL),
(21, 4, 'simple', NULL, '2013-01-31 18:46:07', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Kitchen Stand', NULL, NULL, 30.0000, NULL, NULL, NULL, 0, NULL, 'Kitchen Stand', 'H0000009', NULL, '/h/_/h_shelf.jpg', NULL, NULL, NULL, NULL, 2, '/h/_/h_shelf.jpg', NULL, '2013-01-31 18:46:07', 'kitchen-stand', 'kitchen-stand.html', 4, 1.0000, NULL),
(22, 4, 'simple', NULL, '2013-01-31 18:48:22', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Classic Chair', NULL, NULL, 23.0000, NULL, NULL, NULL, 0, NULL, 'Classic Chair', 'H0000010', NULL, '/h/_/h_stool.jpg', NULL, NULL, NULL, NULL, 2, '/h/_/h_stool.jpg', NULL, '2013-01-31 18:48:22', 'classic-chair', 'classic-chair.html', 4, 17.0000, NULL),
(23, 4, 'simple', NULL, '2013-01-31 18:50:50', 1, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, '4', 2, 'Office Cabinet', NULL, NULL, 110.0000, NULL, NULL, NULL, 0, NULL, 'Office Cabinet', 'H0000011', NULL, '/h/_/h_table.jpg', NULL, '2013-01-31 00:00:00', 85.0000, NULL, 4, '/h/_/h_table.jpg', NULL, '2013-01-31 18:50:50', 'office-cabinet', 'office-cabinet.html', 4, 50.0000, NULL);

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

--
-- Table structure for table`mg_catalog_product_index_eav`
--

CREATE TABLE `mg_catalog_product_index_eav` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` int(10) unsigned NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`,`value`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_VALUE` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Index Table';

--
-- Dumping data for table 'mg_catalog_product_index_eav'
--

INSERT INTO `mg_catalog_product_index_eav` VALUES
(1, 122, 1, 4),
(2, 122, 1, 2),
(3, 122, 1, 4),
(4, 122, 1, 4),
(5, 122, 1, 4),
(6, 122, 1, 4),
(7, 122, 1, 4),
(8, 122, 1, 2),
(9, 122, 1, 2),
(10, 122, 1, 4),
(11, 122, 1, 4),
(12, 122, 1, 4),
(13, 122, 1, 4),
(14, 122, 1, 2),
(15, 122, 1, 2),
(16, 122, 1, 4),
(17, 122, 1, 4),
(18, 122, 1, 4),
(19, 122, 1, 4),
(20, 122, 1, 4),
(21, 122, 1, 2),
(22, 122, 1, 2),
(23, 122, 1, 4);

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

--
-- Table structure for table`mg_catalog_product_index_eav_decimal`
--

CREATE TABLE `mg_catalog_product_index_eav_decimal` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` decimal(12,4) NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_VALUE` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Decimal Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_eav_decimal_idx`
--

CREATE TABLE `mg_catalog_product_index_eav_decimal_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` decimal(12,4) NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`,`value`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_IDX_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_IDX_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_IDX_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_IDX_VALUE` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Decimal Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_eav_decimal_tmp`
--

CREATE TABLE `mg_catalog_product_index_eav_decimal_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` decimal(12,4) NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_TMP_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_TMP_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_TMP_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_TMP_VALUE` (`value`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Decimal Indexer Temp Table';

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

--
-- Table structure for table`mg_catalog_product_index_eav_idx`
--

CREATE TABLE `mg_catalog_product_index_eav_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` int(10) unsigned NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`,`value`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_IDX_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_IDX_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_IDX_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_IDX_VALUE` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Indexer Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_eav_tmp`
--

CREATE TABLE `mg_catalog_product_index_eav_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` int(10) unsigned NOT NULL COMMENT 'Value',
  PRIMARY KEY (`entity_id`,`attribute_id`,`store_id`,`value`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_TMP_ENTITY_ID` (`entity_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_TMP_ATTRIBUTE_ID` (`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_TMP_STORE_ID` (`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_EAV_TMP_VALUE` (`value`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Indexer Temp Table';

--
-- Dumping data for table 'mg_catalog_product_index_eav_tmp'
--

INSERT INTO `mg_catalog_product_index_eav_tmp` VALUES
(20, 122, 1, 4);

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

--
-- Table structure for table`mg_catalog_product_index_group_price`
--

CREATE TABLE `mg_catalog_product_index_group_price` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_GROUP_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_GROUP_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Group Price Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_price`
--

CREATE TABLE `mg_catalog_product_index_price` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `final_price` decimal(12,4) DEFAULT NULL COMMENT 'Final Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_MIN_PRICE` (`min_price`),
  KEY `IDX_mg_CAT_PRD_IDX_PRICE_WS_ID_CSTR_GROUP_ID_MIN_PRICE` (`website_id`,`customer_group_id`,`min_price`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Index Table';

--
-- Dumping data for table 'mg_catalog_product_index_price'
--

INSERT INTO `mg_catalog_product_index_price` VALUES
(2, 0, 1, 2, 15.0000, 15.0000, 15.0000, 15.0000, NULL, NULL),
(2, 1, 1, 2, 15.0000, 15.0000, 15.0000, 15.0000, NULL, NULL),
(2, 2, 1, 2, 15.0000, 15.0000, 15.0000, 15.0000, NULL, NULL),
(2, 3, 1, 2, 15.0000, 15.0000, 15.0000, 15.0000, NULL, NULL),
(3, 0, 1, 4, 145.0000, 145.0000, 145.0000, 145.0000, NULL, NULL),
(3, 1, 1, 4, 145.0000, 145.0000, 145.0000, 145.0000, NULL, NULL),
(3, 2, 1, 4, 145.0000, 145.0000, 145.0000, 145.0000, NULL, NULL),
(3, 3, 1, 4, 145.0000, 145.0000, 145.0000, 145.0000, NULL, NULL),
(4, 0, 1, 4, 300.0000, 175.0000, 175.0000, 175.0000, NULL, NULL),
(4, 1, 1, 4, 300.0000, 175.0000, 175.0000, 175.0000, NULL, NULL),
(4, 2, 1, 4, 300.0000, 175.0000, 175.0000, 175.0000, NULL, NULL),
(4, 3, 1, 4, 300.0000, 175.0000, 175.0000, 175.0000, NULL, NULL),
(5, 0, 1, 4, 1000.0000, 850.0000, 850.0000, 850.0000, NULL, NULL),
(5, 1, 1, 4, 1000.0000, 850.0000, 850.0000, 850.0000, NULL, NULL),
(5, 2, 1, 4, 1000.0000, 850.0000, 850.0000, 850.0000, NULL, NULL),
(5, 3, 1, 4, 1000.0000, 850.0000, 850.0000, 850.0000, NULL, NULL),
(6, 0, 1, 4, 25.0000, 25.0000, 25.0000, 25.0000, NULL, NULL),
(6, 1, 1, 4, 25.0000, 25.0000, 25.0000, 25.0000, NULL, NULL),
(6, 2, 1, 4, 25.0000, 25.0000, 25.0000, 25.0000, NULL, NULL),
(6, 3, 1, 4, 25.0000, 25.0000, 25.0000, 25.0000, NULL, NULL),
(7, 0, 1, 4, 35.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(7, 1, 1, 4, 35.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(7, 2, 1, 4, 35.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(7, 3, 1, 4, 35.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(8, 0, 1, 2, 10.0000, 10.0000, 10.0000, 10.0000, NULL, NULL),
(8, 1, 1, 2, 10.0000, 10.0000, 10.0000, 10.0000, NULL, NULL),
(8, 2, 1, 2, 10.0000, 10.0000, 10.0000, 10.0000, NULL, NULL),
(8, 3, 1, 2, 10.0000, 10.0000, 10.0000, 10.0000, NULL, NULL),
(9, 0, 1, 2, 17.5000, 11.5000, 11.5000, 11.5000, NULL, NULL),
(9, 1, 1, 2, 17.5000, 11.5000, 11.5000, 11.5000, NULL, NULL),
(9, 2, 1, 2, 17.5000, 11.5000, 11.5000, 11.5000, NULL, NULL),
(9, 3, 1, 2, 17.5000, 11.5000, 11.5000, 11.5000, NULL, NULL),
(10, 0, 1, 4, 50.0000, 50.0000, 50.0000, 50.0000, NULL, NULL),
(10, 1, 1, 4, 50.0000, 50.0000, 50.0000, 50.0000, NULL, NULL),
(10, 2, 1, 4, 50.0000, 50.0000, 50.0000, 50.0000, NULL, NULL),
(10, 3, 1, 4, 50.0000, 50.0000, 50.0000, 50.0000, NULL, NULL),
(11, 0, 1, 4, 20.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(11, 1, 1, 4, 20.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(11, 2, 1, 4, 20.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(11, 3, 1, 4, 20.0000, 20.0000, 20.0000, 20.0000, NULL, NULL),
(12, 0, 1, 4, 1300.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(12, 1, 1, 4, 1300.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(12, 2, 1, 4, 1300.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(12, 3, 1, 4, 1300.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(13, 0, 1, 4, 350.0000, 350.0000, 350.0000, 350.0000, NULL, NULL),
(13, 1, 1, 4, 350.0000, 350.0000, 350.0000, 350.0000, NULL, NULL),
(13, 2, 1, 4, 350.0000, 350.0000, 350.0000, 350.0000, NULL, NULL),
(13, 3, 1, 4, 350.0000, 350.0000, 350.0000, 350.0000, NULL, NULL),
(14, 0, 1, 2, 75.0000, 75.0000, 75.0000, 75.0000, NULL, NULL),
(14, 1, 1, 2, 75.0000, 75.0000, 75.0000, 75.0000, NULL, NULL),
(14, 2, 1, 2, 75.0000, 75.0000, 75.0000, 75.0000, NULL, NULL),
(14, 3, 1, 2, 75.0000, 75.0000, 75.0000, 75.0000, NULL, NULL),
(15, 0, 1, 2, 110.0000, 79.0000, 79.0000, 79.0000, NULL, NULL),
(15, 1, 1, 2, 110.0000, 79.0000, 79.0000, 79.0000, NULL, NULL),
(15, 2, 1, 2, 110.0000, 79.0000, 79.0000, 79.0000, NULL, NULL),
(15, 3, 1, 2, 110.0000, 79.0000, 79.0000, 79.0000, NULL, NULL),
(16, 0, 1, 4, 65.0000, 65.0000, 65.0000, 65.0000, NULL, NULL),
(16, 1, 1, 4, 65.0000, 65.0000, 65.0000, 65.0000, NULL, NULL),
(16, 2, 1, 4, 65.0000, 65.0000, 65.0000, 65.0000, NULL, NULL),
(16, 3, 1, 4, 65.0000, 65.0000, 65.0000, 65.0000, NULL, NULL),
(17, 0, 1, 4, 120.0000, 69.0000, 69.0000, 69.0000, NULL, NULL),
(17, 1, 1, 4, 120.0000, 69.0000, 69.0000, 69.0000, NULL, NULL),
(17, 2, 1, 4, 120.0000, 69.0000, 69.0000, 69.0000, NULL, NULL),
(17, 3, 1, 4, 120.0000, 69.0000, 69.0000, 69.0000, NULL, NULL),
(18, 0, 1, 4, 55.0000, 55.0000, 55.0000, 55.0000, NULL, NULL),
(18, 1, 1, 4, 55.0000, 55.0000, 55.0000, 55.0000, NULL, NULL),
(18, 2, 1, 4, 55.0000, 55.0000, 55.0000, 55.0000, NULL, NULL),
(18, 3, 1, 4, 55.0000, 55.0000, 55.0000, 55.0000, NULL, NULL),
(19, 0, 1, 4, 2250.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(19, 1, 1, 4, 2250.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(19, 2, 1, 4, 2250.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(19, 3, 1, 4, 2250.0000, 999.0000, 999.0000, 999.0000, NULL, NULL),
(20, 0, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 1, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 2, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 3, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(21, 0, 1, 2, 30.0000, 30.0000, 30.0000, 30.0000, NULL, NULL),
(21, 1, 1, 2, 30.0000, 30.0000, 30.0000, 30.0000, NULL, NULL),
(21, 2, 1, 2, 30.0000, 30.0000, 30.0000, 30.0000, NULL, NULL),
(21, 3, 1, 2, 30.0000, 30.0000, 30.0000, 30.0000, NULL, NULL),
(22, 0, 1, 2, 23.0000, 23.0000, 23.0000, 23.0000, NULL, NULL),
(22, 1, 1, 2, 23.0000, 23.0000, 23.0000, 23.0000, NULL, NULL),
(22, 2, 1, 2, 23.0000, 23.0000, 23.0000, 23.0000, NULL, NULL),
(22, 3, 1, 2, 23.0000, 23.0000, 23.0000, 23.0000, NULL, NULL),
(23, 0, 1, 4, 110.0000, 85.0000, 85.0000, 85.0000, NULL, NULL),
(23, 1, 1, 4, 110.0000, 85.0000, 85.0000, 85.0000, NULL, NULL),
(23, 2, 1, 4, 110.0000, 85.0000, 85.0000, 85.0000, NULL, NULL),
(23, 3, 1, 4, 110.0000, 85.0000, 85.0000, 85.0000, NULL, NULL);

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_idx`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class Id',
  `price_type` smallint(5) unsigned NOT NULL COMMENT 'Price Type',
  `special_price` decimal(12,4) DEFAULT NULL COMMENT 'Special Price',
  `tier_percent` decimal(12,4) DEFAULT NULL COMMENT 'Tier Percent',
  `orig_price` decimal(12,4) DEFAULT NULL COMMENT 'Orig Price',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `base_tier` decimal(12,4) DEFAULT NULL COMMENT 'Base Tier',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `base_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Group Price',
  `group_price_percent` decimal(12,4) DEFAULT NULL COMMENT 'Group Price Percent',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Idx';

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_opt_idx`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_opt_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Id',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `alt_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `alt_tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `alt_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Group Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Opt Idx';

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_opt_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_opt_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Id',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `alt_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `alt_tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `alt_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Alt Group Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Opt Tmp';

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_sel_idx`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_sel_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Id',
  `selection_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Selection Id',
  `group_type` smallint(5) unsigned DEFAULT '0' COMMENT 'Group Type',
  `is_required` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Required',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`,`selection_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Sel Idx';

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_sel_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_sel_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Id',
  `selection_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Selection Id',
  `group_type` smallint(5) unsigned DEFAULT '0' COMMENT 'Group Type',
  `is_required` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Required',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`,`selection_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Sel Tmp';

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

--
-- Table structure for table`mg_catalog_product_index_price_bundle_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_bundle_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class Id',
  `price_type` smallint(5) unsigned NOT NULL COMMENT 'Price Type',
  `special_price` decimal(12,4) DEFAULT NULL COMMENT 'Special Price',
  `tier_percent` decimal(12,4) DEFAULT NULL COMMENT 'Tier Percent',
  `orig_price` decimal(12,4) DEFAULT NULL COMMENT 'Orig Price',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `base_tier` decimal(12,4) DEFAULT NULL COMMENT 'Base Tier',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `base_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Group Price',
  `group_price_percent` decimal(12,4) DEFAULT NULL COMMENT 'Group Price Percent',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Index Price Bundle Tmp';

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

--
-- Table structure for table`mg_catalog_product_index_price_cfg_opt_agr_idx`
--

CREATE TABLE `mg_catalog_product_index_price_cfg_opt_agr_idx` (
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `child_id` int(10) unsigned NOT NULL COMMENT 'Child ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`parent_id`,`child_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Config Option Aggregate Index ';

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

--
-- Table structure for table`mg_catalog_product_index_price_cfg_opt_agr_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_cfg_opt_agr_tmp` (
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `child_id` int(10) unsigned NOT NULL COMMENT 'Child ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`parent_id`,`child_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Config Option Aggregate Temp T';

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

--
-- Table structure for table`mg_catalog_product_index_price_cfg_opt_idx`
--

CREATE TABLE `mg_catalog_product_index_price_cfg_opt_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Config Option Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_cfg_opt_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_cfg_opt_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Config Option Temp Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_downlod_idx`
--

CREATE TABLE `mg_catalog_product_index_price_downlod_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Minimum price',
  `max_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Maximum price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Indexer Table for price of downloadable products';

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

--
-- Table structure for table`mg_catalog_product_index_price_downlod_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_downlod_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Minimum price',
  `max_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Maximum price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Temporary Indexer Table for price of downloadable products';

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

--
-- Table structure for table`mg_catalog_product_index_price_final_idx`
--

CREATE TABLE `mg_catalog_product_index_price_final_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class ID',
  `orig_price` decimal(12,4) DEFAULT NULL COMMENT 'Original Price',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `base_tier` decimal(12,4) DEFAULT NULL COMMENT 'Base Tier',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `base_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Group Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Final Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_final_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_final_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class ID',
  `orig_price` decimal(12,4) DEFAULT NULL COMMENT 'Original Price',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `base_tier` decimal(12,4) DEFAULT NULL COMMENT 'Base Tier',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  `base_group_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Group Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Final Temp Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_idx`
--

CREATE TABLE `mg_catalog_product_index_price_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `final_price` decimal(12,4) DEFAULT NULL COMMENT 'Final Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_IDX_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_IDX_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_IDX_MIN_PRICE` (`min_price`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Index Table';

--
-- Dumping data for table 'mg_catalog_product_index_price_idx'
--

INSERT INTO `mg_catalog_product_index_price_idx` VALUES
(1, 0, 1, 4, 470.0000, 470.0000, 470.0000, 470.0000, NULL, NULL),
(1, 1, 1, 4, 470.0000, 470.0000, 470.0000, 470.0000, NULL, NULL),
(1, 2, 1, 4, 470.0000, 470.0000, 470.0000, 470.0000, NULL, NULL),
(1, 3, 1, 4, 470.0000, 470.0000, 470.0000, 470.0000, NULL, NULL);

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

--
-- Table structure for table`mg_catalog_product_index_price_opt_agr_idx`
--

CREATE TABLE `mg_catalog_product_index_price_opt_agr_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Option Aggregate Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_opt_agr_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_opt_agr_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`,`option_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Option Aggregate Temp Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_opt_idx`
--

CREATE TABLE `mg_catalog_product_index_price_opt_idx` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Option Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_opt_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_opt_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Option Temp Table';

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

--
-- Table structure for table`mg_catalog_product_index_price_tmp`
--

CREATE TABLE `mg_catalog_product_index_price_tmp` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `tax_class_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Tax Class ID',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `final_price` decimal(12,4) DEFAULT NULL COMMENT 'Final Price',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  `max_price` decimal(12,4) DEFAULT NULL COMMENT 'Max Price',
  `tier_price` decimal(12,4) DEFAULT NULL COMMENT 'Tier Price',
  `group_price` decimal(12,4) DEFAULT NULL COMMENT 'Group price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_TMP_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_TMP_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_PRICE_TMP_MIN_PRICE` (`min_price`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COMMENT='Catalog Product Price Indexer Temp Table';

--
-- Dumping data for table 'mg_catalog_product_index_price_tmp'
--

INSERT INTO `mg_catalog_product_index_price_tmp` VALUES
(20, 0, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 1, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 2, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL),
(20, 3, 1, 4, 800.0000, 800.0000, 800.0000, 800.0000, NULL, NULL);

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

--
-- Table structure for table`mg_catalog_product_index_tier_price`
--

CREATE TABLE `mg_catalog_product_index_tier_price` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `min_price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
  PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_TIER_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_TIER_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Tier Price Index Table';

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

--
-- Table structure for table`mg_catalog_product_index_website`
--

CREATE TABLE `mg_catalog_product_index_website` (
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `website_date` date DEFAULT NULL COMMENT 'Website Date',
  `rate` float DEFAULT '1' COMMENT 'Rate',
  PRIMARY KEY (`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_INDEX_WEBSITE_WEBSITE_DATE` (`website_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Website Index Table';

--
-- Dumping data for table 'mg_catalog_product_index_website'
--

INSERT INTO `mg_catalog_product_index_website` VALUES
(1, '2013-01-31', 1);

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

--
-- Table structure for table`mg_catalog_product_link`
--

CREATE TABLE `mg_catalog_product_link` (
  `link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Link ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `linked_product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Linked Product ID',
  `link_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Link Type ID',
  PRIMARY KEY (`link_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_LNK_LNK_TYPE_ID_PRD_ID_LNKED_PRD_ID` (`link_type_id`,`product_id`,`linked_product_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_PRODUCT_ID` (`product_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_LINKED_PRODUCT_ID` (`linked_product_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_LINK_TYPE_ID` (`link_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product To Product Linkage Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_link_attribute`
--

CREATE TABLE `mg_catalog_product_link_attribute` (
  `product_link_attribute_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Product Link Attribute ID',
  `link_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Link Type ID',
  `product_link_attribute_code` varchar(32) DEFAULT NULL COMMENT 'Product Link Attribute Code',
  `data_type` varchar(32) DEFAULT NULL COMMENT 'Data Type',
  PRIMARY KEY (`product_link_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_ATTRIBUTE_LINK_TYPE_ID` (`link_type_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Link Attribute Table' AUTO_INCREMENT=6 ;

--
-- Dumping data for table 'mg_catalog_product_link_attribute'
--

INSERT INTO `mg_catalog_product_link_attribute` VALUES
(1, 1, 'position', 'int'),
(2, 3, 'position', 'int'),
(3, 3, 'qty', 'decimal'),
(4, 4, 'position', 'int'),
(5, 5, 'position', 'int');

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

--
-- Table structure for table`mg_catalog_product_link_attribute_decimal`
--

CREATE TABLE `mg_catalog_product_link_attribute_decimal` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `product_link_attribute_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Product Link Attribute ID',
  `link_id` int(10) unsigned NOT NULL COMMENT 'Link ID',
  `value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_LNK_ATTR_DEC_PRD_LNK_ATTR_ID_LNK_ID` (`product_link_attribute_id`,`link_id`),
  KEY `IDX_mg_CAT_PRD_LNK_ATTR_DEC_PRD_LNK_ATTR_ID` (`product_link_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_ATTRIBUTE_DECIMAL_LINK_ID` (`link_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Link Decimal Attribute Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_link_attribute_int`
--

CREATE TABLE `mg_catalog_product_link_attribute_int` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `product_link_attribute_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Product Link Attribute ID',
  `link_id` int(10) unsigned NOT NULL COMMENT 'Link ID',
  `value` int(11) NOT NULL DEFAULT '0' COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_LNK_ATTR_INT_PRD_LNK_ATTR_ID_LNK_ID` (`product_link_attribute_id`,`link_id`),
  KEY `IDX_mg_CAT_PRD_LNK_ATTR_INT_PRD_LNK_ATTR_ID` (`product_link_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_ATTRIBUTE_INT_LINK_ID` (`link_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Link Integer Attribute Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_link_attribute_varchar`
--

CREATE TABLE `mg_catalog_product_link_attribute_varchar` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `product_link_attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Link Attribute ID',
  `link_id` int(10) unsigned NOT NULL COMMENT 'Link ID',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_LNK_ATTR_VCHR_PRD_LNK_ATTR_ID_LNK_ID` (`product_link_attribute_id`,`link_id`),
  KEY `IDX_mg_CAT_PRD_LNK_ATTR_VCHR_PRD_LNK_ATTR_ID` (`product_link_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_LINK_ATTRIBUTE_VARCHAR_LINK_ID` (`link_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Link Varchar Attribute Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_link_type`
--

CREATE TABLE `mg_catalog_product_link_type` (
  `link_type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Link Type ID',
  `code` varchar(32) DEFAULT NULL COMMENT 'Code',
  PRIMARY KEY (`link_type_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Catalog Product Link Type Table' AUTO_INCREMENT=6 ;

--
-- Dumping data for table 'mg_catalog_product_link_type'
--

INSERT INTO `mg_catalog_product_link_type` VALUES
(1, 'relation'),
(3, 'super'),
(4, 'up_sell'),
(5, 'cross_sell');

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

--
-- Table structure for table`mg_catalog_product_option`
--

CREATE TABLE `mg_catalog_product_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `type` varchar(50) DEFAULT NULL COMMENT 'Type',
  `is_require` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Required',
  `sku` varchar(64) DEFAULT NULL COMMENT 'SKU',
  `max_characters` int(10) unsigned DEFAULT NULL COMMENT 'Max Characters',
  `file_extension` varchar(50) DEFAULT NULL COMMENT 'File Extension',
  `image_size_x` smallint(5) unsigned DEFAULT NULL COMMENT 'Image Size X',
  `image_size_y` smallint(5) unsigned DEFAULT NULL COMMENT 'Image Size Y',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  PRIMARY KEY (`option_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_option_price`
--

CREATE TABLE `mg_catalog_product_option_price` (
  `option_price_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Price ID',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `price_type` varchar(7) NOT NULL DEFAULT 'fixed' COMMENT 'Price Type',
  PRIMARY KEY (`option_price_id`),
  UNIQUE KEY `UNQ_mg_CATALOG_PRODUCT_OPTION_PRICE_OPTION_ID_STORE_ID` (`option_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_PRICE_OPTION_ID` (`option_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_PRICE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Price Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_option_title`
--

CREATE TABLE `mg_catalog_product_option_title` (
  `option_title_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Title ID',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  PRIMARY KEY (`option_title_id`),
  UNIQUE KEY `UNQ_mg_CATALOG_PRODUCT_OPTION_TITLE_OPTION_ID_STORE_ID` (`option_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TITLE_OPTION_ID` (`option_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TITLE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Title Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_option_type_price`
--

CREATE TABLE `mg_catalog_product_option_type_price` (
  `option_type_price_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Type Price ID',
  `option_type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Type ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `price_type` varchar(7) NOT NULL DEFAULT 'fixed' COMMENT 'Price Type',
  PRIMARY KEY (`option_type_price_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_OPT_TYPE_PRICE_OPT_TYPE_ID_STORE_ID` (`option_type_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TYPE_PRICE_OPTION_TYPE_ID` (`option_type_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TYPE_PRICE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Type Price Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_option_type_title`
--

CREATE TABLE `mg_catalog_product_option_type_title` (
  `option_type_title_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Type Title ID',
  `option_type_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option Type ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  PRIMARY KEY (`option_type_title_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_OPT_TYPE_TTL_OPT_TYPE_ID_STORE_ID` (`option_type_id`,`store_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TYPE_TITLE_OPTION_TYPE_ID` (`option_type_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TYPE_TITLE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Type Title Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_option_type_value`
--

CREATE TABLE `mg_catalog_product_option_type_value` (
  `option_type_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Type ID',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Option ID',
  `sku` varchar(64) DEFAULT NULL COMMENT 'SKU',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  PRIMARY KEY (`option_type_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_OPTION_TYPE_VALUE_OPTION_ID` (`option_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Option Type Value Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_relation`
--

CREATE TABLE `mg_catalog_product_relation` (
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `child_id` int(10) unsigned NOT NULL COMMENT 'Child ID',
  PRIMARY KEY (`parent_id`,`child_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_RELATION_CHILD_ID` (`child_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Relation Table';

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

--
-- Table structure for table`mg_catalog_product_super_attribute`
--

CREATE TABLE `mg_catalog_product_super_attribute` (
  `product_super_attribute_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Product Super Attribute ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute ID',
  `position` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Position',
  PRIMARY KEY (`product_super_attribute_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_SPR_ATTR_PRD_ID_ATTR_ID` (`product_id`,`attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_SUPER_ATTRIBUTE_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Super Attribute Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_super_attribute_label`
--

CREATE TABLE `mg_catalog_product_super_attribute_label` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `product_super_attribute_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Super Attribute ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `use_default` smallint(5) unsigned DEFAULT '0' COMMENT 'Use Default Value',
  `value` varchar(255) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_SPR_ATTR_LBL_PRD_SPR_ATTR_ID_STORE_ID` (`product_super_attribute_id`,`store_id`),
  KEY `IDX_mg_CAT_PRD_SPR_ATTR_LBL_PRD_SPR_ATTR_ID` (`product_super_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_SUPER_ATTRIBUTE_LABEL_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Super Attribute Label Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_super_attribute_pricing`
--

CREATE TABLE `mg_catalog_product_super_attribute_pricing` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  `product_super_attribute_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product Super Attribute ID',
  `value_index` varchar(255) DEFAULT NULL COMMENT 'Value Index',
  `is_percent` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Percent',
  `pricing_value` decimal(12,4) DEFAULT NULL COMMENT 'Pricing Value',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CAT_PRD_SPR_ATTR_PRICING_PRD_SPR_ATTR_ID_VAL_IDX_WS_ID` (`product_super_attribute_id`,`value_index`,`website_id`),
  KEY `IDX_mg_CAT_PRD_SPR_ATTR_PRICING_PRD_SPR_ATTR_ID` (`product_super_attribute_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_SUPER_ATTRIBUTE_PRICING_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Super Attribute Pricing Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_super_link`
--

CREATE TABLE `mg_catalog_product_super_link` (
  `link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Link ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Parent ID',
  PRIMARY KEY (`link_id`),
  UNIQUE KEY `UNQ_mg_CATALOG_PRODUCT_SUPER_LINK_PRODUCT_ID_PARENT_ID` (`product_id`,`parent_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_SUPER_LINK_PARENT_ID` (`parent_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_SUPER_LINK_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Super Link Table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_catalog_product_website`
--

CREATE TABLE `mg_catalog_product_website` (
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  PRIMARY KEY (`product_id`,`website_id`),
  KEY `IDX_mg_CATALOG_PRODUCT_WEBSITE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product To Website Linkage Table';

--
-- Dumping data for table 'mg_catalog_product_website'
--

INSERT INTO `mg_catalog_product_website` VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(6, 1),
(7, 1),
(8, 1),
(9, 1),
(10, 1),
(11, 1),
(12, 1),
(13, 1),
(14, 1),
(15, 1),
(16, 1),
(17, 1),
(18, 1),
(19, 1),
(20, 1),
(21, 1),
(22, 1),
(23, 1);

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

--
-- Table structure for table`mg_checkout_agreement`
--

CREATE TABLE `mg_checkout_agreement` (
  `agreement_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Agreement Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `content` text COMMENT 'Content',
  `content_height` varchar(25) DEFAULT NULL COMMENT 'Content Height',
  `checkbox_text` text COMMENT 'Checkbox Text',
  `is_active` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Active',
  `is_html` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Html',
  PRIMARY KEY (`agreement_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Agreement' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_checkout_agreement_store`
--

CREATE TABLE `mg_checkout_agreement_store` (
  `agreement_id` int(10) unsigned NOT NULL COMMENT 'Agreement Id',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  PRIMARY KEY (`agreement_id`,`store_id`),
  KEY `FK_mg_CHKT_AGRT_STORE_STORE_ID_mg_CORE_STORE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Agreement Store';

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

--
-- Table structure for table`mg_cms_block`
--

CREATE TABLE `mg_cms_block` (
  `block_id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT 'Block ID',
  `title` varchar(255) NOT NULL COMMENT 'Block Title',
  `identifier` varchar(255) NOT NULL COMMENT 'Block String Identifier',
  `content` mediumtext COMMENT 'Block Content',
  `creation_time` timestamp NULL DEFAULT NULL COMMENT 'Block Creation Time',
  `update_time` timestamp NULL DEFAULT NULL COMMENT 'Block Modification Time',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Block Active',
  PRIMARY KEY (`block_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='CMS Block Table' AUTO_INCREMENT=6 ;

--
-- Dumping data for table 'mg_cms_block'
--

INSERT INTO `mg_cms_block` VALUES
(1, 'Footer Links', 'footer_links', '<ul>\r\n<li><a href="{{store direct_url="about-magento-demo-store"}}">About Us</a></li>\r\n<li><a href="{{store direct_url="customer-service"}}">Customer Service</a></li>\r\n<li class="last privacy"><a href="{{store direct_url="privacy-policy-cookie-restriction-mode"}}">Privacy Policy</a></li>\r\n</ul>', '2013-01-24 12:06:24', '2013-01-24 12:06:24', 1),
(2, 'Hello Slide', 'helloSlide', ' <div class="panel">\r\n <img src="{{skin url="images/slider/1.jpg"}}"/>\r\n <h1></h1>\r\n </div>', '2013-01-29 18:22:09', '2013-01-29 18:26:11', 1),
(3, 'Twitter', 'twitter', '<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript">\r\n</script>\r\n<div id="twitter_update_list">\r\n<script src="http://api.twitter.com/1/statuses/user_timeline/hellothemes.json?callback=twitterCallback2&count=3" type="text/javascript">\r\n</script>\r\n</div>', '2013-01-29 18:27:35', '2013-01-29 18:27:35', 1),
(4, 'Share Footer', 'shareFooter', '<h2 class="connected">Stay Connected</h2>\r\n<ul class="share">\r\n<li><a href="#"><img src="{{skin url="images/s-f.png"}}" alt="meri&bull;Bello" /></a></li>\r\n<li><a href="#"><img src="{{skin url="images/s-s.png"}}" alt="meri&bull;Bello" /></a></li>\r\n<li><a href="#"><img src="{{skin url="images/s-t.png"}}" alt="meri&bull;Bello" /></a></li>\r\n</ul>\r\n<h2 class="payment">Payment Option</h2>\r\n<ul class="share">\r\n<li><img src="{{skin url="images/cards.png"}}" alt="" /></li>\r\n</ul>', '2013-01-29 18:29:54', '2013-01-29 18:32:30', 1),
(5, 'Featured Categories Home', 'featuredCategoriesHome', '<p>{{block type="catalog/navigation" name="catalog.categories" template="catalog/navigation/category-listing-home.phtml"}}</p>', '2013-01-29 18:33:14', '2013-01-31 16:04:04', 1);

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

--
-- Table structure for table`mg_cms_block_store`
--

CREATE TABLE `mg_cms_block_store` (
  `block_id` smallint(6) NOT NULL COMMENT 'Block ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`block_id`,`store_id`),
  KEY `IDX_mg_CMS_BLOCK_STORE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CMS Block To Store Linkage Table';

--
-- Dumping data for table 'mg_cms_block_store'
--

INSERT INTO `mg_cms_block_store` VALUES
(1, 0),
(2, 1),
(3, 1),
(4, 1),
(5, 1);

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

--
-- Table structure for table`mg_cms_page`
--

CREATE TABLE `mg_cms_page` (
  `page_id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT 'Page ID',
  `title` varchar(255) DEFAULT NULL COMMENT 'Page Title',
  `root_template` varchar(255) DEFAULT NULL COMMENT 'Page Template',
  `meta_keywords` text COMMENT 'Page Meta Keywords',
  `meta_description` text COMMENT 'Page Meta Description',
  `identifier` varchar(100) DEFAULT NULL COMMENT 'Page String Identifier',
  `content_heading` varchar(255) DEFAULT NULL COMMENT 'Page Content Heading',
  `content` mediumtext COMMENT 'Page Content',
  `creation_time` timestamp NULL DEFAULT NULL COMMENT 'Page Creation Time',
  `update_time` timestamp NULL DEFAULT NULL COMMENT 'Page Modification Time',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Page Active',
  `sort_order` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Page Sort Order',
  `layout_update_xml` text COMMENT 'Page Layout Update Content',
  `custom_theme` varchar(100) DEFAULT NULL COMMENT 'Page Custom Theme',
  `custom_root_template` varchar(255) DEFAULT NULL COMMENT 'Page Custom Template',
  `custom_layout_update_xml` text COMMENT 'Page Custom Layout Update Content',
  `custom_theme_from` date DEFAULT NULL COMMENT 'Page Custom Theme Active From Date',
  `custom_theme_to` date DEFAULT NULL COMMENT 'Page Custom Theme Active To Date',
  PRIMARY KEY (`page_id`),
  KEY `IDX_mg_CMS_PAGE_IDENTIFIER` (`identifier`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='CMS Page Table' AUTO_INCREMENT=7 ;

--
-- Dumping data for table 'mg_cms_page'
--

INSERT INTO `mg_cms_page` VALUES
(1, '404 Not Found 1', 'homepage', 'Page keywords', 'Page description', 'no-route', NULL, '<div class="page-title">\r\n<h1>Whoops, our bad...</h1>\r\n</div>\r\n<dl><dt>The page you requested was not found, and we have a fine guess why.</dt><dd>\r\n<ul class="disc">\r\n<li>If you typed the URL directly, please make sure the spelling is correct.</li>\r\n<li>If you clicked on a link to get here, the link is outdated.</li>\r\n</ul>\r\n</dd></dl><dl><dt>What can you do?</dt><dd>Have no fear, help is near! There are many ways you can get back on track with Magento Store.</dd><dd>\r\n<ul class="disc">\r\n<li><a onclick="history.go(-1); return false;" href="#">Go back</a> to the previous page.</li>\r\n<li>Use the search bar at the top of the page to search for your products.</li>\r\n<li>Follow these links to get you back on track!<br /><a href="{{store url=""}}">Store Home</a> <span class="separator">|</span> <a href="{{store url="customer/account"}}">My Account</a></li>\r\n</ul>\r\n</dd></dl>', '2013-01-24 12:06:24', '2013-01-29 18:39:04', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'Home page', 'homepage', NULL, NULL, 'home', NULL, '<h1 class="title">Welcome to <strong>meri&bull;Bello</strong>. Your number one shop for quality goods. We provide you with a quick and easy service. <a class="go-login" href="{{store url=''customer/account/login''}} ">Register</a></h1>\r\n<div class="featured-categories">{{block type="cms/block" block_id="featuredCategoriesHome"}}</div>', '2013-01-24 12:06:24', '2013-01-31 16:10:13', 1, 0, '<!--<reference name="content">\r\n        <block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page">\r\n            <action method="addPriceBlockType">\r\n                <type>bundle</type>\r\n                <block>bundle/catalog_product_price</block>\r\n                <template>bundle/catalog/product/price.phtml</template>\r\n            </action>\r\n        </block>\r\n        <block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new">\r\n            <action method="addPriceBlockType">\r\n                <type>bundle</type>\r\n                <block>bundle/catalog_product_price</block>\r\n                <template>bundle/catalog/product/price.phtml</template>\r\n            </action>\r\n        </block>\r\n        <block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed">\r\n            <action method="addPriceBlockType">\r\n                <type>bundle</type>\r\n                <block>bundle/catalog_product_price</block>\r\n                <template>bundle/catalog/product/price.phtml</template>\r\n            </action>\r\n        </block>\r\n    </reference>\r\n    <reference name="right">\r\n        <action method="unsetChild"><alias>right.reports.product.viewed</alias></action>\r\n        <action method="unsetChild"><alias>right.reports.product.compared</alias></action>\r\n    </reference>-->', NULL, NULL, NULL, NULL, NULL),
(3, 'About Us', 'homepage', NULL, NULL, 'about-magento-demo-store', NULL, '<div class="page-title">\r\n<h1>About Magento Store</h1>\r\n</div>\r\n<div class="col3-set">\r\n<div class="col-1">\r\n<p><a href="http://www.varien.com/"><img title="Varien" src="{{skin url=''images/media/about_us_img.jpg''}}" alt="Varien" /></a></p>\r\n<p style="line-height: 1.2em;"><small>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede.</small></p>\r\n<p style="color: #888; font: 1.2em/1.4em georgia, serif;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta.</p>\r\n</div>\r\n<div class="col-2">\r\n<p><strong style="color: #de036f;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit.</strong></p>\r\n<p>Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</p>\r\n<p>Maecenas ullamcorper, odio vel tempus egestas, dui orci faucibus orci, sit amet aliquet lectus dolor et quam. Pellentesque consequat luctus purus. Nunc et risus. Etiam a nibh. Phasellus dignissim metus eget nisi. Vestibulum sapien dolor, aliquet nec, porta ac, malesuada a, libero. Praesent feugiat purus eget est. Nulla facilisi. Vestibulum tincidunt sapien eu velit. Mauris purus. Maecenas eget mauris eu orci accumsan feugiat. Pellentesque eget velit. Nunc tincidunt.</p>\r\n</div>\r\n<div class="col-3">\r\n<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper</p>\r\n<p><strong style="color: #de036f;">Maecenas ullamcorper, odio vel tempus egestas, dui orci faucibus orci, sit amet aliquet lectus dolor et quam. Pellentesque consequat luctus purus.</strong></p>\r\n<p>Nunc et risus. Etiam a nibh. Phasellus dignissim metus eget nisi.</p>\r\n<div class="divider">&nbsp;</div>\r\n<p>To all of you, from all of us at Magento Store - Thank you and Happy eCommerce!</p>\r\n<p style="line-height: 1.2em;"><strong style="font: italic 2em Georgia, serif;">John Doe</strong><br /><small>Some important guy</small></p>\r\n</div>\r\n</div>', '2013-01-24 12:06:24', '2013-01-29 18:36:32', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 'Customer Service', 'homepage', NULL, NULL, 'customer-service', NULL, '<div class="page-title">\r\n<h1>Customer Service</h1>\r\n</div>\r\n<ul class="disc">\r\n<li><a href="#answer1">Shipping &amp; Delivery</a></li>\r\n<li><a href="#answer2">Privacy &amp; Security</a></li>\r\n<li><a href="#answer3">Returns &amp; Replacements</a></li>\r\n<li><a href="#answer4">Ordering</a></li>\r\n<li><a href="#answer5">Payment, Pricing &amp; Promotions</a></li>\r\n<li><a href="#answer6">Viewing Orders</a></li>\r\n<li><a href="#answer7">Updating Account Information</a></li>\r\n</ul>\r\n<dl><dt id="answer1">Shipping &amp; Delivery</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer2">Privacy &amp; Security</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer3">Returns &amp; Replacements</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer4">Ordering</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer5">Payment, Pricing &amp; Promotions</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer6">Viewing Orders</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd><dt id="answer7">Updating Account Information</dt><dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi luctus. Duis lobortis. Nulla nec velit. Mauris pulvinar erat non massa. Suspendisse tortor turpis, porta nec, tempus vitae, iaculis semper, pede. Cras vel libero id lectus rhoncus porta. Suspendisse convallis felis ac enim. Vivamus tortor nisl, lobortis in, faucibus et, tempus at, dui. Nunc risus. Proin scelerisque augue. Nam ullamcorper. Phasellus id massa. Pellentesque nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc augue. Aenean sed justo non leo vehicula laoreet. Praesent ipsum libero, auctor ac, tempus nec, tempor nec, justo.</dd></dl>', '2013-01-24 12:06:24', '2013-01-29 18:38:04', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 'Enable Cookies', 'homepage', NULL, NULL, 'enable-cookies', NULL, '<div class="std">\r\n<ul class="messages">\r\n<li class="notice-msg">\r\n<ul>\r\n<li>Please enable cookies in your web browser to continue.</li>\r\n</ul>\r\n</li>\r\n</ul>\r\n<div class="page-title">\r\n<h1><a name="top"></a>What are Cookies?</h1>\r\n</div>\r\n<p>Cookies are short pieces of data that are sent to your computer when you visit a website. On later visits, this data is then returned to that website. Cookies allow us to recognize you automatically whenever you visit our site so that we can personalize your experience and provide you with better service. We also use cookies (and similar browser data, such as Flash cookies) for fraud prevention and other purposes. If your web browser is set to refuse cookies from our website, you will not be able to complete a purchase or take advantage of certain features of our website, such as storing items in your Shopping Cart or receiving personalized recommendations. As a result, we strongly encourage you to configure your web browser to accept cookies from our website.</p>\r\n<h2 class="subtitle">Enabling Cookies</h2>\r\n<ul class="disc">\r\n<li><a href="#ie7">Internet Explorer 7.x</a></li>\r\n<li><a href="#ie6">Internet Explorer 6.x</a></li>\r\n<li><a href="#firefox">Mozilla/Firefox</a></li>\r\n<li><a href="#opera">Opera 7.x</a></li>\r\n</ul>\r\n<h3><a name="ie7"></a>Internet Explorer 7.x</h3>\r\n<ol>\r\n<li>\r\n<p>Start Internet Explorer</p>\r\n</li>\r\n<li>\r\n<p>Under the <strong>Tools</strong> menu, click <strong>Internet Options</strong></p>\r\n<p><img src="{{skin url="images/cookies/ie7-1.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Click the <strong>Privacy</strong> tab</p>\r\n<p><img src="{{skin url="images/cookies/ie7-2.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Click the <strong>Advanced</strong> button</p>\r\n<p><img src="{{skin url="images/cookies/ie7-3.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Put a check mark in the box for <strong>Override Automatic Cookie Handling</strong>, put another check mark in the <strong>Always accept session cookies </strong>box</p>\r\n<p><img src="{{skin url="images/cookies/ie7-4.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Click <strong>OK</strong></p>\r\n<p><img src="{{skin url="images/cookies/ie7-5.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Click <strong>OK</strong></p>\r\n<p><img src="{{skin url="images/cookies/ie7-6.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Restart Internet Explore</p>\r\n</li>\r\n</ol>\r\n<p class="a-top"><a href="#top">Back to Top</a></p>\r\n<h3><a name="ie6"></a>Internet Explorer 6.x</h3>\r\n<ol>\r\n<li>\r\n<p>Select <strong>Internet Options</strong> from the Tools menu</p>\r\n<p><img src="{{skin url="images/cookies/ie6-1.gif"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Click on the <strong>Privacy</strong> tab</p>\r\n</li>\r\n<li>\r\n<p>Click the <strong>Default</strong> button (or manually slide the bar down to <strong>Medium</strong>) under <strong>Settings</strong>. Click <strong>OK</strong></p>\r\n<p><img src="{{skin url="images/cookies/ie6-2.gif"}}" alt="" /></p>\r\n</li>\r\n</ol>\r\n<p class="a-top"><a href="#top">Back to Top</a></p>\r\n<h3><a name="firefox"></a>Mozilla/Firefox</h3>\r\n<ol>\r\n<li>\r\n<p>Click on the <strong>Tools</strong>-menu in Mozilla</p>\r\n</li>\r\n<li>\r\n<p>Click on the <strong>Options...</strong> item in the menu - a new window open</p>\r\n</li>\r\n<li>\r\n<p>Click on the <strong>Privacy</strong> selection in the left part of the window. (See image below)</p>\r\n<p><img src="{{skin url="images/cookies/firefox.png"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>Expand the <strong>Cookies</strong> section</p>\r\n</li>\r\n<li>\r\n<p>Check the <strong>Enable cookies</strong> and <strong>Accept cookies normally</strong> checkboxes</p>\r\n</li>\r\n<li>\r\n<p>Save changes by clicking <strong>Ok</strong>.</p>\r\n</li>\r\n</ol>\r\n<p class="a-top"><a href="#top">Back to Top</a></p>\r\n<h3><a name="opera"></a>Opera 7.x</h3>\r\n<ol>\r\n<li>\r\n<p>Click on the <strong>Tools</strong> menu in Opera</p>\r\n</li>\r\n<li>\r\n<p>Click on the <strong>Preferences...</strong> item in the menu - a new window open</p>\r\n</li>\r\n<li>\r\n<p>Click on the <strong>Privacy</strong> selection near the bottom left of the window. (See image below)</p>\r\n<p><img src="{{skin url="images/cookies/opera.png"}}" alt="" /></p>\r\n</li>\r\n<li>\r\n<p>The <strong>Enable cookies</strong> checkbox must be checked, and <strong>Accept all cookies</strong> should be selected in the "<strong>Normal cookies</strong>" drop-down</p>\r\n</li>\r\n<li>\r\n<p>Save changes by clicking <strong>Ok</strong></p>\r\n</li>\r\n</ol>\r\n<p class="a-top"><a href="#top">Back to Top</a></p>\r\n</div>', '2013-01-24 12:06:24', '2013-01-29 18:40:36', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 'Privacy Policy', 'homepage', NULL, NULL, 'privacy-policy-cookie-restriction-mode', 'Privacy Policy', '<p style="color: #ff0000; font-weight: bold; font-size: 13px;">Please replace this text with you Privacy Policy. Please add any additional cookies your website uses below (e.g., Google Analytics)</p>\r\n<p>This privacy policy sets out how {{config path="general/store_information/name"}} uses and protects any information that you give {{config path="general/store_information/name"}} when you use this website. {{config path="general/store_information/name"}} is committed to ensuring that your privacy is protected. Should we ask you to provide certain information by which you can be identified when using this website, then you can be assured that it will only be used in accordance with this privacy statement. {{config path="general/store_information/name"}} may change this policy from time to time by updating this page. You should check this page from time to time to ensure that you are happy with any changes.</p>\r\n<h2>What we collect</h2>\r\n<p>We may collect the following information:</p>\r\n<ul>\r\n<li>name</li>\r\n<li>contact information including email address</li>\r\n<li>demographic information such as postcode, preferences and interests</li>\r\n<li>other information relevant to customer surveys and/or offers</li>\r\n</ul>\r\n<p>For the exhaustive list of cookies we collect see the <a href="#list">List of cookies we collect</a> section.</p>\r\n<h2>What we do with the information we gather</h2>\r\n<p>We require this information to understand your needs and provide you with a better service, and in particular for the following reasons:</p>\r\n<ul>\r\n<li>Internal record keeping.</li>\r\n<li>We may use the information to improve our products and services.</li>\r\n<li>We may periodically send promotional emails about new products, special offers or other information which we think you may find interesting using the email address which you have provided.</li>\r\n<li>From time to time, we may also use your information to contact you for market research purposes. We may contact you by email, phone, fax or mail. We may use the information to customise the website according to your interests.</li>\r\n</ul>\r\n<h2>Security</h2>\r\n<p>We are committed to ensuring that your information is secure. In order to prevent unauthorised access or disclosure, we have put in place suitable physical, electronic and managerial procedures to safeguard and secure the information we collect online.</p>\r\n<h2>How we use cookies</h2>\r\n<p>A cookie is a small file which asks permission to be placed on your computer''s hard drive. Once you agree, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as an individual. The web application can tailor its operations to your needs, likes and dislikes by gathering and remembering information about your preferences.</p>\r\n<p>We use traffic log cookies to identify which pages are being used. This helps us analyse data about web page traffic and improve our website in order to tailor it to customer needs. We only use this information for statistical analysis purposes and then the data is removed from the system.</p>\r\n<p>Overall, cookies help us provide you with a better website, by enabling us to monitor which pages you find useful and which you do not. A cookie in no way gives us access to your computer or any information about you, other than the data you choose to share with us. You can choose to accept or decline cookies. Most web browsers automatically accept cookies, but you can usually modify your browser setting to decline cookies if you prefer. This may prevent you from taking full advantage of the website.</p>\r\n<h2>Links to other websites</h2>\r\n<p>Our website may contain links to other websites of interest. However, once you have used these links to leave our site, you should note that we do not have any control over that other website. Therefore, we cannot be responsible for the protection and privacy of any information which you provide whilst visiting such sites and such sites are not governed by this privacy statement. You should exercise caution and look at the privacy statement applicable to the website in question.</p>\r\n<h2>Controlling your personal information</h2>\r\n<p>You may choose to restrict the collection or use of your personal information in the following ways:</p>\r\n<ul>\r\n<li>whenever you are asked to fill in a form on the website, look for the box that you can click to indicate that you do not want the information to be used by anybody for direct marketing purposes</li>\r\n<li>if you have previously agreed to us using your personal information for direct marketing purposes, you may change your mind at any time by writing to or emailing us at {{config path="trans_email/ident_general/email"}}</li>\r\n</ul>\r\n<p>We will not sell, distribute or lease your personal information to third parties unless we have your permission or are required by law to do so. We may use your personal information to send you promotional information about third parties which we think you may find interesting if you tell us that you wish this to happen.</p>\r\n<p>You may request details of personal information which we hold about you under the Data Protection Act 1998. A small fee will be payable. If you would like a copy of the information held on you please write to {{config path="general/store_information/address"}}.</p>\r\n<p>If you believe that any information we are holding on you is incorrect or incomplete, please write to or email us as soon as possible, at the above address. We will promptly correct any information found to be incorrect.</p>\r\n<h2><a name="list"></a>List of cookies we collect</h2>\r\n<p>The table below lists the cookies we collect and what information they store.</p>\r\n<table class="data-table">\r\n<thead>\r\n<tr><th>COOKIE name</th><th>COOKIE Description</th></tr>\r\n</thead>\r\n<tbody>\r\n<tr><th>CART</th>\r\n<td>The association with your shopping cart.</td>\r\n</tr>\r\n<tr><th>CATEGORY_INFO</th>\r\n<td>Stores the category info on the page, that allows to display pages more quickly.</td>\r\n</tr>\r\n<tr><th>COMPARE</th>\r\n<td>The items that you have in the Compare Products list.</td>\r\n</tr>\r\n<tr><th>CURRENCY</th>\r\n<td>Your preferred currency</td>\r\n</tr>\r\n<tr><th>CUSTOMER</th>\r\n<td>An encrypted version of your customer id with the store.</td>\r\n</tr>\r\n<tr><th>CUSTOMER_AUTH</th>\r\n<td>An indicator if you are currently logged into the store.</td>\r\n</tr>\r\n<tr><th>CUSTOMER_INFO</th>\r\n<td>An encrypted version of the customer group you belong to.</td>\r\n</tr>\r\n<tr><th>CUSTOMER_SEGMENT_IDS</th>\r\n<td>Stores the Customer Segment ID</td>\r\n</tr>\r\n<tr><th>EXTERNAL_NO_CACHE</th>\r\n<td>A flag, which indicates whether caching is disabled or not.</td>\r\n</tr>\r\n<tr><th>FRONTEND</th>\r\n<td>You sesssion ID on the server.</td>\r\n</tr>\r\n<tr><th>GUEST-VIEW</th>\r\n<td>Allows guests to edit their orders.</td>\r\n</tr>\r\n<tr><th>LAST_CATEGORY</th>\r\n<td>The last category you visited.</td>\r\n</tr>\r\n<tr><th>LAST_PRODUCT</th>\r\n<td>The most recent product you have viewed.</td>\r\n</tr>\r\n<tr><th>NEWMESSAGE</th>\r\n<td>Indicates whether a new message has been received.</td>\r\n</tr>\r\n<tr><th>NO_CACHE</th>\r\n<td>Indicates whether it is allowed to use cache.</td>\r\n</tr>\r\n<tr><th>PERSISTENT_SHOPPING_CART</th>\r\n<td>A link to information about your cart and viewing history if you have asked the site.</td>\r\n</tr>\r\n<tr><th>POLL</th>\r\n<td>The ID of any polls you have recently voted in.</td>\r\n</tr>\r\n<tr><th>POLLN</th>\r\n<td>Information on what polls you have voted on.</td>\r\n</tr>\r\n<tr><th>RECENTLYCOMPARED</th>\r\n<td>The items that you have recently compared.</td>\r\n</tr>\r\n<tr><th>STF</th>\r\n<td>Information on products you have emailed to friends.</td>\r\n</tr>\r\n<tr><th>STORE</th>\r\n<td>The store view or language you have selected.</td>\r\n</tr>\r\n<tr><th>USER_ALLOWED_SAVE_COOKIE</th>\r\n<td>Indicates whether a customer allowed to use cookies.</td>\r\n</tr>\r\n<tr><th>VIEWED_PRODUCT_IDS</th>\r\n<td>The products that you have recently viewed.</td>\r\n</tr>\r\n<tr><th>WISHLIST</th>\r\n<td>An encrypted list of products added to your Wishlist.</td>\r\n</tr>\r\n<tr><th>WISHLIST_CNT</th>\r\n<td>The number of items in your Wishlist.</td>\r\n</tr>\r\n</tbody>\r\n</table>', '2013-01-24 12:06:24', '2013-01-29 18:40:00', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table`mg_cms_page_store`
--

CREATE TABLE `mg_cms_page_store` (
  `page_id` smallint(6) NOT NULL COMMENT 'Page ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`page_id`,`store_id`),
  KEY `IDX_mg_CMS_PAGE_STORE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='CMS Page To Store Linkage Table';

--
-- Dumping data for table 'mg_cms_page_store'
--

INSERT INTO `mg_cms_page_store` VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(6, 1);

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

--
-- Table structure for table`mg_core_cache`
--

CREATE TABLE `mg_core_cache` (
  `id` varchar(200) NOT NULL COMMENT 'Cache Id',
  `data` mediumblob COMMENT 'Cache Data',
  `create_time` int(11) DEFAULT NULL COMMENT 'Cache Creation Time',
  `update_time` int(11) DEFAULT NULL COMMENT 'Time of Cache Updating',
  `expire_time` int(11) DEFAULT NULL COMMENT 'Cache Expiration Time',
  PRIMARY KEY (`id`),
  KEY `IDX_mg_CORE_CACHE_EXPIRE_TIME` (`expire_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Caches';

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

--
-- Table structure for table`mg_core_cache_option`
--

CREATE TABLE `mg_core_cache_option` (
  `code` varchar(32) NOT NULL COMMENT 'Code',
  `value` smallint(6) DEFAULT NULL COMMENT 'Value',
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache Options';

--
-- Dumping data for table 'mg_core_cache_option'
--

INSERT INTO `mg_core_cache_option` VALUES
('block_html', 0),
('collections', 0),
('config', 0),
('config_api', 0),
('config_api2', 0),
('eav', 0),
('layout', 0),
('translate', 0);

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

--
-- Table structure for table`mg_core_cache_tag`
--

CREATE TABLE `mg_core_cache_tag` (
  `tag` varchar(100) NOT NULL COMMENT 'Tag',
  `cache_id` varchar(200) NOT NULL COMMENT 'Cache Id',
  PRIMARY KEY (`tag`,`cache_id`),
  KEY `IDX_mg_CORE_CACHE_TAG_CACHE_ID` (`cache_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tag Caches';

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

--
-- Table structure for table`mg_core_config_data`
--

CREATE TABLE `mg_core_config_data` (
  `config_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Config Id',
  `scope` varchar(8) NOT NULL DEFAULT 'default' COMMENT 'Config Scope',
  `scope_id` int(11) NOT NULL DEFAULT '0' COMMENT 'Config Scope Id',
  `path` varchar(255) NOT NULL DEFAULT 'general' COMMENT 'Config Path',
  `value` text COMMENT 'Config Value',
  PRIMARY KEY (`config_id`),
  UNIQUE KEY `UNQ_mg_CORE_CONFIG_DATA_SCOPE_SCOPE_ID_PATH` (`scope`,`scope_id`,`path`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Config Data' AUTO_INCREMENT=84 ;

--
-- Dumping data for table 'mg_core_config_data'
--

INSERT INTO `mg_core_config_data` VALUES
(1, 'default', 0, 'general/region/display_all', '1'),
(2, 'default', 0, 'general/region/state_required', 'AT,CA,EE,FI,FR,DE,LV,LT,RO,ES,CH,US'),
(3, 'default', 0, 'catalog/category/root_id', '2'),
(4, 'default', 0, 'admin/dashboard/enable_charts', '1'),
(5, 'default', 0, 'web/unsecure/base_url', 'http://silvertobor.com/'),
(6, 'default', 0, 'web/secure/base_url', 'http://silvertobor.com/'),
(7, 'default', 0, 'general/locale/code', 'zh_TW'),
(8, 'default', 0, 'general/locale/timezone', 'Asia/Taipei'),
(9, 'default', 0, 'currency/options/base', 'USD'),
(10, 'default', 0, 'currency/options/default', 'USD'),
(11, 'default', 0, 'currency/options/allow', 'CNY,HKD,TWD,USD'),
(12, 'default', 0, 'design/package/name', 'default'),
(13, 'default', 0, 'design/package/ua_regexp', 'a:0:{}'),
(14, 'default', 0, 'design/theme/locale', NULL),
(15, 'default', 0, 'design/theme/template', 'helloeuropa'),
(16, 'default', 0, 'design/theme/template_ua_regexp', 'a:0:{}'),
(17, 'default', 0, 'design/theme/skin', 'helloeuropa'),
(18, 'default', 0, 'design/theme/skin_ua_regexp', 'a:0:{}'),
(19, 'default', 0, 'design/theme/layout', 'helloeuropa'),
(20, 'default', 0, 'design/theme/layout_ua_regexp', 'a:0:{}'),
(21, 'default', 0, 'design/theme/default', 'helloeuropa'),
(22, 'default', 0, 'design/theme/default_ua_regexp', 'a:0:{}'),
(23, 'default', 0, 'design/head/default_title', 'meri•Bello'),
(24, 'default', 0, 'design/head/title_prefix', NULL),
(25, 'default', 0, 'design/head/title_suffix', NULL),
(26, 'default', 0, 'design/head/default_description', 'Our Design. Your Peace of Mind.'),
(27, 'default', 0, 'design/head/default_keywords', 'meri•Bello, Home Decor, E-commerce'),
(28, 'default', 0, 'design/head/default_robots', 'INDEX,FOLLOW'),
(29, 'default', 0, 'design/head/includes', NULL),
(30, 'default', 0, 'design/head/demonotice', '0'),
(31, 'default', 0, 'design/header/logo_src', 'images/logo.gif'),
(32, 'default', 0, 'design/header/logo_alt', 'meri•Bello'),
(33, 'default', 0, 'design/header/welcome', 'Welcome to meri•Bello. Your favorite place for designer home decors and accessaries'),
(34, 'default', 0, 'design/footer/copyright', '&copy; 2013 meri•Bello. All Rights Reserved.'),
(35, 'default', 0, 'design/footer/absolute_footer', NULL),
(36, 'default', 0, 'design/watermark/image_size', NULL),
(37, 'default', 0, 'design/watermark/image_imageOpacity', NULL),
(38, 'default', 0, 'design/watermark/image_position', 'stretch'),
(39, 'default', 0, 'design/watermark/small_image_size', NULL),
(40, 'default', 0, 'design/watermark/small_image_imageOpacity', NULL),
(41, 'default', 0, 'design/watermark/small_image_position', 'stretch'),
(42, 'default', 0, 'design/watermark/thumbnail_size', NULL),
(43, 'default', 0, 'design/watermark/thumbnail_imageOpacity', NULL),
(44, 'default', 0, 'design/watermark/thumbnail_position', 'stretch'),
(45, 'default', 0, 'design/pagination/pagination_frame', '5'),
(46, 'default', 0, 'design/pagination/pagination_frame_skip', NULL),
(47, 'default', 0, 'design/pagination/anchor_text_for_previous', NULL),
(48, 'default', 0, 'design/pagination/anchor_text_for_next', NULL),
(49, 'default', 0, 'design/email/logo_alt', NULL),
(50, 'default', 0, 'general/country/default', 'TW'),
(51, 'default', 0, 'general/country/allow', 'AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BV,BR,IO,VG,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CU,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MP,KP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RE,RO,RU,RW,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SK,SI,SB,SO,ZA,GS,KR,ES,LK,SD,SR,SJ,SZ,SE,CH,SY,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UY,UM,VI,UZ,VU,VA,VE,VN,WF,EH,YE,ZM,ZW'),
(52, 'default', 0, 'general/country/optional_zip_countries', 'HK,IE,MO,PA'),
(53, 'default', 0, 'general/country/eu_countries', 'AT,BE,BG,CY,CZ,DK,EE,FI,FR,DE,GR,HU,IE,IT,LV,LT,LU,MT,NL,PL,PT,RO,SK,SI,ES,SE,GB'),
(54, 'default', 0, 'general/locale/firstday', '0'),
(55, 'default', 0, 'general/locale/weekend', '0,6'),
(56, 'default', 0, 'general/store_information/name', NULL),
(57, 'default', 0, 'general/store_information/phone', NULL),
(58, 'default', 0, 'general/store_information/merchant_country', NULL),
(59, 'default', 0, 'general/store_information/merchant_vat_number', NULL),
(60, 'default', 0, 'general/store_information/address', NULL),
(61, 'default', 0, 'trans_email/ident_general/name', 'meri•Bello'),
(62, 'default', 0, 'trans_email/ident_general/email', 'support@meribello.com'),
(63, 'default', 0, 'trans_email/ident_sales/name', 'Sales'),
(64, 'default', 0, 'trans_email/ident_sales/email', 'sales@meribello.com'),
(65, 'default', 0, 'trans_email/ident_support/name', 'CustomerSupport'),
(66, 'default', 0, 'trans_email/ident_support/email', 'support@meribello.com'),
(67, 'default', 0, 'trans_email/ident_custom1/name', 'Custom 1'),
(68, 'default', 0, 'trans_email/ident_custom1/email', 'custom1@example.com'),
(69, 'default', 0, 'trans_email/ident_custom2/name', 'Custom 2'),
(70, 'default', 0, 'trans_email/ident_custom2/email', 'custom2@example.com'),
(71, 'default', 0, 'currency/webservicex/timeout', '100'),
(72, 'default', 0, 'currency/import/enabled', '0'),
(73, 'default', 0, 'currency/import/service', 'webservicex'),
(74, 'default', 0, 'crontab/jobs/currency_rates_update/schedule/cron_expr', '0 0 * * *'),
(75, 'default', 0, 'currency/import/time', '00,00,00'),
(76, 'default', 0, 'currency/import/frequency', 'D'),
(77, 'default', 0, 'currency/import/error_email', NULL),
(78, 'default', 0, 'currency/import/error_email_identity', 'general'),
(79, 'default', 0, 'currency/import/error_email_template', 'currency_import_error_email_template'),
(80, 'default', 0, 'contacts/contacts/enabled', '1'),
(81, 'default', 0, 'contacts/email/recipient_email', 'support@meribello.com'),
(82, 'default', 0, 'contacts/email/sender_email_identity', 'custom2'),
(83, 'default', 0, 'contacts/email/email_template', 'contacts_email_email_template');

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

--
-- Table structure for table`mg_core_email_template`
--

CREATE TABLE `mg_core_email_template` (
  `template_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Template Id',
  `template_code` varchar(150) NOT NULL COMMENT 'Template Name',
  `template_text` text NOT NULL COMMENT 'Template Content',
  `template_styles` text COMMENT 'Templste Styles',
  `template_type` int(10) unsigned DEFAULT NULL COMMENT 'Template Type',
  `template_subject` varchar(200) NOT NULL COMMENT 'Template Subject',
  `template_sender_name` varchar(200) DEFAULT NULL COMMENT 'Template Sender Name',
  `template_sender_email` varchar(200) DEFAULT NULL COMMENT 'Template Sender Email',
  `added_at` timestamp NULL DEFAULT NULL COMMENT 'Date of Template Creation',
  `modified_at` timestamp NULL DEFAULT NULL COMMENT 'Date of Template Modification',
  `orig_template_code` varchar(200) DEFAULT NULL COMMENT 'Original Template Code',
  `orig_template_variables` text COMMENT 'Original Template Variables',
  PRIMARY KEY (`template_id`),
  UNIQUE KEY `UNQ_mg_CORE_EMAIL_TEMPLATE_TEMPLATE_CODE` (`template_code`),
  KEY `IDX_mg_CORE_EMAIL_TEMPLATE_ADDED_AT` (`added_at`),
  KEY `IDX_mg_CORE_EMAIL_TEMPLATE_MODIFIED_AT` (`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Email Templates' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_flag`
--

CREATE TABLE `mg_core_flag` (
  `flag_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Flag Id',
  `flag_code` varchar(255) NOT NULL COMMENT 'Flag Code',
  `state` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Flag State',
  `flag_data` text COMMENT 'Flag Data',
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of Last Flag Update',
  PRIMARY KEY (`flag_id`),
  KEY `IDX_mg_CORE_FLAG_LAST_UPDATE` (`last_update`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Flag' AUTO_INCREMENT=10 ;

--
-- Dumping data for table 'mg_core_flag'
--

INSERT INTO `mg_core_flag` VALUES
(1, 'admin_notification_survey', 0, 'a:1:{s:13:"survey_viewed";b:1;}', '2013-01-24 12:06:24'),
(2, 'catalog_product_flat', 0, 'a:1:{s:8:"is_built";b:1;}', '2013-01-25 06:54:57'),
(3, 'report_order_aggregated', 0, NULL, '2013-01-31 08:00:22'),
(4, 'report_shipping_aggregated', 0, NULL, '2013-01-31 08:00:24'),
(5, 'report_invoiced_aggregated', 0, NULL, '2013-01-31 08:00:25'),
(6, 'report_refunded_aggregated', 0, NULL, '2013-01-31 08:00:25'),
(7, 'report_bestsellers_aggregated', 0, NULL, '2013-01-31 08:00:26'),
(8, 'report_coupons_aggregated', 0, NULL, '2013-01-31 08:00:27'),
(9, 'report_tax_aggregated', 0, NULL, '2013-01-31 08:00:27');

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

--
-- Table structure for table`mg_core_layout_link`
--

CREATE TABLE `mg_core_layout_link` (
  `layout_link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Link Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `area` varchar(64) DEFAULT NULL COMMENT 'Area',
  `package` varchar(64) DEFAULT NULL COMMENT 'Package',
  `theme` varchar(64) DEFAULT NULL COMMENT 'Theme',
  `layout_update_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Layout Update Id',
  PRIMARY KEY (`layout_link_id`),
  UNIQUE KEY `UNQ_mg_CORE_LYT_LNK_STORE_ID_PACKAGE_THEME_LYT_UPDATE_ID` (`store_id`,`package`,`theme`,`layout_update_id`),
  KEY `IDX_mg_CORE_LAYOUT_LINK_LAYOUT_UPDATE_ID` (`layout_update_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layout Link' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_layout_update`
--

CREATE TABLE `mg_core_layout_update` (
  `layout_update_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Layout Update Id',
  `handle` varchar(255) DEFAULT NULL COMMENT 'Handle',
  `xml` text COMMENT 'Xml',
  `sort_order` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  PRIMARY KEY (`layout_update_id`),
  KEY `IDX_mg_CORE_LAYOUT_UPDATE_HANDLE` (`handle`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layout Updates' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_resource`
--

CREATE TABLE `mg_core_resource` (
  `code` varchar(50) NOT NULL COMMENT 'Resource Code',
  `version` varchar(50) DEFAULT NULL COMMENT 'Resource Version',
  `data_version` varchar(50) DEFAULT NULL COMMENT 'Data Version',
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Resources';

--
-- Dumping data for table 'mg_core_resource'
--

INSERT INTO `mg_core_resource` VALUES
('adminnotification_setup', '1.6.0.0', '1.6.0.0'),
('admin_setup', '1.6.1.0', '1.6.1.0'),
('api2_setup', '1.0.0.0', '1.0.0.0'),
('api_setup', '1.6.0.0', '1.6.0.0'),
('backup_setup', '1.6.0.0', '1.6.0.0'),
('bundle_setup', '1.6.0.0.1', '1.6.0.0.1'),
('captcha_setup', '1.7.0.0.0', '1.7.0.0.0'),
('catalogindex_setup', '1.6.0.0', '1.6.0.0'),
('cataloginventory_setup', '1.6.0.0.2', '1.6.0.0.2'),
('catalogrule_setup', '1.6.0.3', '1.6.0.3'),
('catalogsearch_setup', '1.6.0.0', '1.6.0.0'),
('catalog_setup', '1.6.0.0.14', '1.6.0.0.14'),
('checkout_setup', '1.6.0.0', '1.6.0.0'),
('cms_setup', '1.6.0.0.1', '1.6.0.0.1'),
('compiler_setup', '1.6.0.0', '1.6.0.0'),
('contacts_setup', '1.6.0.0', '1.6.0.0'),
('core_setup', '1.6.0.2', '1.6.0.2'),
('cron_setup', '1.6.0.0', '1.6.0.0'),
('customer_setup', '1.6.2.0.1', '1.6.2.0.1'),
('dataflow_setup', '1.6.0.0', '1.6.0.0'),
('directory_setup', '1.6.0.1', '1.6.0.1'),
('downloadable_setup', '1.6.0.0.2', '1.6.0.0.2'),
('eav_setup', '1.6.0.0', '1.6.0.0'),
('giftmessage_setup', '1.6.0.0', '1.6.0.0'),
('googlecheckout_setup', '1.6.0.1', '1.6.0.1'),
('importexport_setup', '1.6.0.2', '1.6.0.2'),
('index_setup', '1.6.0.0', '1.6.0.0'),
('log_setup', '1.6.0.0', '1.6.0.0'),
('moneybookers_setup', '1.6.0.0', '1.6.0.0'),
('newsletter_setup', '1.6.0.1', '1.6.0.1'),
('oauth_setup', '1.0.0.0', '1.0.0.0'),
('paygate_setup', '1.6.0.0', '1.6.0.0'),
('payment_setup', '1.6.0.0', '1.6.0.0'),
('paypaluk_setup', '1.6.0.0', '1.6.0.0'),
('paypal_setup', '1.6.0.2', '1.6.0.2'),
('persistent_setup', '1.0.0.0', '1.0.0.0'),
('poll_setup', '1.6.0.0', '1.6.0.0'),
('productalert_setup', '1.6.0.0', '1.6.0.0'),
('rating_setup', '1.6.0.0', '1.6.0.0'),
('reports_setup', '1.6.0.0.1', '1.6.0.0.1'),
('review_setup', '1.6.0.0', '1.6.0.0'),
('salesrule_setup', '1.6.0.3', '1.6.0.3'),
('sales_setup', '1.6.0.7', '1.6.0.7'),
('sendfriend_setup', '1.6.0.0', '1.6.0.0'),
('shipping_setup', '1.6.0.0', '1.6.0.0'),
('sitemap_setup', '1.6.0.0', '1.6.0.0'),
('tag_setup', '1.6.0.0', '1.6.0.0'),
('tax_setup', '1.6.0.3', '1.6.0.3'),
('usa_setup', '1.6.0.1', '1.6.0.1'),
('weee_setup', '1.6.0.0', '1.6.0.0'),
('widget_setup', '1.6.0.0', '1.6.0.0'),
('wishlist_setup', '1.6.0.0', '1.6.0.0'),
('xmlconnect_setup', '1.6.0.0', '1.6.0.0');

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

--
-- Table structure for table`mg_core_store`
--

CREATE TABLE `mg_core_store` (
  `store_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Store Id',
  `code` varchar(32) DEFAULT NULL COMMENT 'Code',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Group Id',
  `name` varchar(255) NOT NULL COMMENT 'Store Name',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Sort Order',
  `is_active` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Activity',
  PRIMARY KEY (`store_id`),
  UNIQUE KEY `UNQ_mg_CORE_STORE_CODE` (`code`),
  KEY `IDX_mg_CORE_STORE_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CORE_STORE_IS_ACTIVE_SORT_ORDER` (`is_active`,`sort_order`),
  KEY `IDX_mg_CORE_STORE_GROUP_ID` (`group_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Stores' AUTO_INCREMENT=2 ;

--
-- Dumping data for table 'mg_core_store'
--

INSERT INTO `mg_core_store` VALUES
(0, 'admin', 0, 0, 'Admin', 0, 1),
(1, 'default', 1, 1, 'Default Store View', 0, 1);

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

--
-- Table structure for table`mg_core_store_group`
--

CREATE TABLE `mg_core_store_group` (
  `group_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Group Id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `name` varchar(255) NOT NULL COMMENT 'Store Group Name',
  `root_category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Root Category Id',
  `default_store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Default Store Id',
  PRIMARY KEY (`group_id`),
  KEY `IDX_mg_CORE_STORE_GROUP_WEBSITE_ID` (`website_id`),
  KEY `IDX_mg_CORE_STORE_GROUP_DEFAULT_STORE_ID` (`default_store_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Store Groups' AUTO_INCREMENT=2 ;

--
-- Dumping data for table 'mg_core_store_group'
--

INSERT INTO `mg_core_store_group` VALUES
(0, 0, 'Default', 0, 0),
(1, 1, 'Main Website Store', 2, 1);

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

--
-- Table structure for table`mg_core_translate`
--

CREATE TABLE `mg_core_translate` (
  `key_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Key Id of Translation',
  `string` varchar(255) NOT NULL DEFAULT 'Translate String' COMMENT 'Translation String',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `translate` varchar(255) DEFAULT NULL COMMENT 'Translate',
  `locale` varchar(20) NOT NULL DEFAULT 'en_US' COMMENT 'Locale',
  PRIMARY KEY (`key_id`),
  UNIQUE KEY `UNQ_mg_CORE_TRANSLATE_STORE_ID_LOCALE_STRING` (`store_id`,`locale`,`string`),
  KEY `IDX_mg_CORE_TRANSLATE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Translations' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_url_rewrite`
--

CREATE TABLE `mg_core_url_rewrite` (
  `url_rewrite_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rewrite Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `id_path` varchar(255) DEFAULT NULL COMMENT 'Id Path',
  `request_path` varchar(255) DEFAULT NULL COMMENT 'Request Path',
  `target_path` varchar(255) DEFAULT NULL COMMENT 'Target Path',
  `is_system` smallint(5) unsigned DEFAULT '1' COMMENT 'Defines is Rewrite System',
  `options` varchar(255) DEFAULT NULL COMMENT 'Options',
  `description` varchar(255) DEFAULT NULL COMMENT 'Deascription',
  `category_id` int(10) unsigned DEFAULT NULL COMMENT 'Category Id',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product Id',
  PRIMARY KEY (`url_rewrite_id`),
  UNIQUE KEY `UNQ_mg_CORE_URL_REWRITE_REQUEST_PATH_STORE_ID` (`request_path`,`store_id`),
  UNIQUE KEY `UNQ_mg_CORE_URL_REWRITE_ID_PATH_IS_SYSTEM_STORE_ID` (`id_path`,`is_system`,`store_id`),
  KEY `IDX_mg_CORE_URL_REWRITE_TARGET_PATH_STORE_ID` (`target_path`,`store_id`),
  KEY `IDX_mg_CORE_URL_REWRITE_ID_PATH` (`id_path`),
  KEY `IDX_mg_CORE_URL_REWRITE_STORE_ID` (`store_id`),
  KEY `FK_mg_CORE_URL_REWRITE_CTGR_ID_mg_CAT_CTGR_ENTT_ENTT_ID` (`category_id`),
  KEY `FK_mg_CORE_URL_REWRITE_PRD_ID_mg_CAT_CTGR_ENTT_ENTT_ID` (`product_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Url Rewrites' AUTO_INCREMENT=61 ;

--
-- Dumping data for table 'mg_core_url_rewrite'
--

INSERT INTO `mg_core_url_rewrite` VALUES
(1, 1, 'product/1', 'designer-chair.html', 'catalog/product/view/id/1', 1, NULL, NULL, NULL, 1),
(4, 1, 'category/5', 'home-decor.html', 'catalog/category/view/id/5', 1, NULL, NULL, 5, NULL),
(7, 1, 'product/2', 'lighting-bulbs.html', 'catalog/product/view/id/2', 1, NULL, NULL, NULL, 2),
(12, 1, 'product/3', 'carpets.html', 'catalog/product/view/id/3', 1, NULL, NULL, NULL, 3),
(15, 1, 'category/8', 'accessories.html', 'catalog/category/view/id/8', 1, NULL, NULL, 8, NULL),
(16, 1, 'product/2/8', 'accessories/lighting-bulbs.html', 'catalog/product/view/id/2/category/8', 1, NULL, NULL, 8, 2),
(18, 1, 'product/3/8', 'accessories/carpets.html', 'catalog/product/view/id/3/category/8', 1, NULL, NULL, 8, 3),
(20, 1, 'category/9', 'gadgets.html', 'catalog/category/view/id/9', 1, NULL, NULL, 9, NULL),
(21, 1, 'product/4/8', 'accessories/paper-elephant.html', 'catalog/product/view/id/4/category/8', 1, NULL, NULL, 8, 4),
(22, 1, 'product/4', 'paper-elephant.html', 'catalog/product/view/id/4', 1, NULL, NULL, NULL, 4),
(23, 1, 'product/5/8', 'accessories/ivory-necklace.html', 'catalog/product/view/id/5/category/8', 1, NULL, NULL, 8, 5),
(24, 1, 'product/5', 'ivory-necklace.html', 'catalog/product/view/id/5', 1, NULL, NULL, NULL, 5),
(25, 1, 'product/6/8', 'accessories/environmental-friendly-shopping-bag.html', 'catalog/product/view/id/6/category/8', 1, NULL, NULL, 8, 6),
(26, 1, 'product/6', 'environmental-friendly-shopping-bag.html', 'catalog/product/view/id/6', 1, NULL, NULL, NULL, 6),
(27, 1, 'product/7/8', 'accessories/living-room-art.html', 'catalog/product/view/id/7/category/8', 1, NULL, NULL, 8, 7),
(28, 1, 'product/7', 'living-room-art.html', 'catalog/product/view/id/7', 1, NULL, NULL, NULL, 7),
(29, 1, 'product/8/8', 'accessories/sticky-notes.html', 'catalog/product/view/id/8/category/8', 1, NULL, NULL, 8, 8),
(30, 1, 'product/8', 'sticky-notes.html', 'catalog/product/view/id/8', 1, NULL, NULL, NULL, 8),
(31, 1, 'product/9/8', 'accessories/wool-socks.html', 'catalog/product/view/id/9/category/8', 1, NULL, NULL, 8, 9),
(32, 1, 'product/9', 'wool-socks.html', 'catalog/product/view/id/9', 1, NULL, NULL, NULL, 9),
(33, 1, 'product/10/8', 'accessories/water-tank.html', 'catalog/product/view/id/10/category/8', 1, NULL, NULL, 8, 10),
(34, 1, 'product/10', 'water-tank.html', 'catalog/product/view/id/10', 1, NULL, NULL, NULL, 10),
(35, 1, 'product/11/9', 'gadgets/digital-photo-frame.html', 'catalog/product/view/id/11/category/9', 1, NULL, NULL, 9, 11),
(36, 1, 'product/11', 'digital-photo-frame.html', 'catalog/product/view/id/11', 1, NULL, NULL, NULL, 11),
(37, 1, 'product/12/9', 'gadgets/typewriter.html', 'catalog/product/view/id/12/category/9', 1, NULL, NULL, 9, 12),
(38, 1, 'product/12', 'typewriter.html', 'catalog/product/view/id/12', 1, NULL, NULL, NULL, 12),
(39, 1, 'product/13/5', 'home-decor/bench.html', 'catalog/product/view/id/13/category/5', 1, NULL, NULL, 5, 13),
(40, 1, 'product/13', 'bench.html', 'catalog/product/view/id/13', 1, NULL, NULL, NULL, 13),
(41, 1, 'product/14/5', 'home-decor/bookshelf.html', 'catalog/product/view/id/14/category/5', 1, NULL, NULL, 5, 14),
(42, 1, 'product/14', 'bookshelf.html', 'catalog/product/view/id/14', 1, NULL, NULL, NULL, 14),
(43, 1, 'product/15/5', 'home-decor/clock.html', 'catalog/product/view/id/15/category/5', 1, NULL, NULL, 5, 15),
(44, 1, 'product/15', 'clock.html', 'catalog/product/view/id/15', 1, NULL, NULL, NULL, 15),
(45, 1, 'product/16/5', 'home-decor/metal-chair.html', 'catalog/product/view/id/16/category/5', 1, NULL, NULL, 5, 16),
(46, 1, 'product/16', 'metal-chair.html', 'catalog/product/view/id/16', 1, NULL, NULL, NULL, 16),
(47, 1, 'product/17/5', 'home-decor/decor-lamp.html', 'catalog/product/view/id/17/category/5', 1, NULL, NULL, 5, 17),
(48, 1, 'product/17', 'decor-lamp.html', 'catalog/product/view/id/17', 1, NULL, NULL, NULL, 17),
(49, 1, 'product/18/5', 'home-decor/artistic-lamp.html', 'catalog/product/view/id/18/category/5', 1, NULL, NULL, 5, 18),
(50, 1, 'product/18', 'artistic-lamp.html', 'catalog/product/view/id/18', 1, NULL, NULL, NULL, 18),
(51, 1, 'product/19/5', 'home-decor/living-room-set.html', 'catalog/product/view/id/19/category/5', 1, NULL, NULL, 5, 19),
(52, 1, 'product/19', 'living-room-set.html', 'catalog/product/view/id/19', 1, NULL, NULL, NULL, 19),
(53, 1, 'product/20/5', 'home-decor/feng-shui-screen.html', 'catalog/product/view/id/20/category/5', 1, NULL, NULL, 5, 20),
(54, 1, 'product/20', 'feng-shui-screen.html', 'catalog/product/view/id/20', 1, NULL, NULL, NULL, 20),
(55, 1, 'product/21/5', 'home-decor/kitchen-stand.html', 'catalog/product/view/id/21/category/5', 1, NULL, NULL, 5, 21),
(56, 1, 'product/21', 'kitchen-stand.html', 'catalog/product/view/id/21', 1, NULL, NULL, NULL, 21),
(57, 1, 'product/22/5', 'home-decor/classic-chair.html', 'catalog/product/view/id/22/category/5', 1, NULL, NULL, 5, 22),
(58, 1, 'product/22', 'classic-chair.html', 'catalog/product/view/id/22', 1, NULL, NULL, NULL, 22),
(59, 1, 'product/23/5', 'home-decor/office-cabinet.html', 'catalog/product/view/id/23/category/5', 1, NULL, NULL, 5, 23),
(60, 1, 'product/23', 'office-cabinet.html', 'catalog/product/view/id/23', 1, NULL, NULL, NULL, 23);

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

--
-- Table structure for table`mg_core_variable`
--

CREATE TABLE `mg_core_variable` (
  `variable_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Variable Id',
  `code` varchar(255) DEFAULT NULL COMMENT 'Variable Code',
  `name` varchar(255) DEFAULT NULL COMMENT 'Variable Name',
  PRIMARY KEY (`variable_id`),
  UNIQUE KEY `UNQ_mg_CORE_VARIABLE_CODE` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variables' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_variable_value`
--

CREATE TABLE `mg_core_variable_value` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Variable Value Id',
  `variable_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Variable Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `plain_value` text COMMENT 'Plain Text Value',
  `html_value` text COMMENT 'Html Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `UNQ_mg_CORE_VARIABLE_VALUE_VARIABLE_ID_STORE_ID` (`variable_id`,`store_id`),
  KEY `IDX_mg_CORE_VARIABLE_VALUE_VARIABLE_ID` (`variable_id`),
  KEY `IDX_mg_CORE_VARIABLE_VALUE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Value' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table`mg_core_website`
--

CREATE TABLE `mg_core_website` (
  `website_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Website Id',
  `code` varchar(32) DEFAULT NULL COMMENT 'Code',
  `name` varchar(64) DEFAULT NULL COMMENT 'Website Name',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `default_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Default Group Id',
  `is_default` smallint(5) unsigned DEFAULT '0' COMMENT 'Defines Is Website Default',
  PRIMARY KEY (`website_id`),
  UNIQUE KEY `UNQ_mg_CORE_WEBSITE_CODE` (`code`),
  KEY `IDX_mg_CORE_WEBSITE_SORT_ORDER` (`sort_order`),
  KEY `IDX_mg_CORE_WEBSITE_DEFAULT_GROUP_ID` (`default_group_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Websites' AUTO_INCREMENT=2 ;

--
