There has been an error processing your request
Error in file: "C:\wamp\www\magento\app\code\core\Mage\SalesRule\sql\salesrule_setup\upgrade-1.6.0.0-1.6.0.1.php" - SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'period',
query was:
CREATE TABLE `coupon_aggregated_updated` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Id' ,
`period` date NOT NULL default '' COMMENT 'Period' ,
`store_id` smallint UNSIGNED NULL COMMENT 'Store Id' ,
`order_status` varchar(50) NULL COMMENT 'Order Status' ,
`coupon_code` varchar(50) NULL COMMENT 'Coupon Code' ,
`coupon_uses` int NOT NULL default '0' COMMENT 'Coupon Uses' ,
`subtotal_amount` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Subtotal Amount' ,
`discount_amount` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Discount Amount' ,
`total_amount` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Total Amount' ,
`subtotal_amount_actual` decimal(12,4) NOT NULL default '0.0000' COMMENT 'Subtotal Amount Actual'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.