쿠폰존 추가

This commit is contained in:
chicpro
2016-09-09 13:57:57 +09:00
parent ac89a2d512
commit 6e1aa4ac0c
27 changed files with 1446 additions and 9 deletions

View File

@ -139,6 +139,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_coupon` (
`cp_method` TINYINT(4) NOT NULL DEFAULT '0',
`cp_target` VARCHAR(255) NOT NULL DEFAULT '',
`mb_id` VARCHAR(255) NOT NULL DEFAULT '',
`cz_id` int(11) NOT NULL DEFAULT '0',
`cp_start` DATE NOT NULL DEFAULT '0000-00-00',
`cp_end` DATE NOT NULL DEFAULT '0000-00-00',
`cp_price` INT(11) NOT NULL DEFAULT '0',
@ -174,6 +175,34 @@ CREATE TABLE IF NOT EXISTS `g5_shop_coupon_log` (
-- --------------------------------------------------------
--
-- Table structure for table `g5_shop_coupon_zone`
--
DROP TABLE IF EXISTS `g5_shop_coupon_zone`;
CREATE TABLE IF NOT EXISTS `g5_shop_coupon_zone` (
`cz_id` int(11) NOT NULL AUTO_INCREMENT,
`cz_type` tinyint(4) NOT NULL DEFAULT '0',
`cz_subject` varchar(255) NOT NULL DEFAULT '',
`cz_start` DATE NOT NULL DEFAULT '0000-00-00',
`cz_end` DATE NOT NULL DEFAULT '0000-00-00',
`cz_file` varchar(255) NOT NULL DEFAULT '',
`cz_period` int(11) NOT NULL DEFAULT '0',
`cz_point` INT(11) NOT NULL DEFAULT '0',
`cp_method` TINYINT(4) NOT NULL DEFAULT '0',
`cp_target` VARCHAR(255) NOT NULL DEFAULT '',
`cp_price` INT(11) NOT NULL DEFAULT '0',
`cp_type` TINYINT(4) NOT NULL DEFAULT '0',
`cp_trunc` INT(11) NOT NULL DEFAULT '0',
`cp_minimum` INT(11) NOT NULL DEFAULT '0',
`cp_maximum` INT(11) NOT NULL DEFAULT '0',
`cz_download` int(11) NOT NULL DEFAULT '0',
`cz_datetime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`cz_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `g5_shop_default`
--