DROP TABLE IF EXISTS `ps_jxdaydeal`;
CREATE TABLE `ps_jxdaydeal` (
  `id_tab` int(11) NOT NULL AUTO_INCREMENT,
  `id_product` int(11) NOT NULL,
  `id_shop` int(11) NOT NULL,
  `id_specific_price` int(11) NOT NULL,
  `data_start` datetime NOT NULL,
  `data_end` datetime NOT NULL,
  `status` int(11) NOT NULL,
  `discount_price` decimal(20,2) NOT NULL,
  `reduction_type` varchar(128) DEFAULT NULL,
  `reduction_tax` int(11) NOT NULL,
  PRIMARY KEY (`id_tab`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

/* Scheme for table ps_jxdaydeal */
INSERT INTO `ps_jxdaydeal` VALUES
('1','20','1','13','2019-10-17 00:00:00','2020-09-01 00:00:00','1','3.00','percentage','0'),
('2','22','1','14','2019-10-16 00:00:00','2020-09-05 00:00:00','1','3.00','percentage','0'),
('3','23','1','15','2019-10-15 00:00:00','2020-10-01 00:00:00','1','3.00','percentage','0'),
('4','24','1','16','2019-10-01 00:00:00','2020-09-20 00:00:00','1','5.00','percentage','0');
