마일리지 기능 추가 및 상품 포인트 유형 추가

This commit is contained in:
chicpro
2013-05-31 16:15:28 +09:00
parent f21987e30c
commit 087c610751
13 changed files with 410 additions and 30 deletions

View File

@ -384,6 +384,7 @@ CREATE TABLE IF NOT EXISTS `shop_item` (
`it_cust_price` int(11) NOT NULL DEFAULT '0',
`it_price` int(11) NOT NULL DEFAULT '0',
`it_point` int(11) NOT NULL DEFAULT '0',
`it_point_type` tinyint(4) NOT NULL DEFAULT '0',
`it_sell_email` varchar(255) NOT NULL DEFAULT '',
`it_use` tinyint(4) NOT NULL DEFAULT '0',
`it_stock_qty` int(11) NOT NULL DEFAULT '0',
@ -600,6 +601,23 @@ CREATE TABLE IF NOT EXISTS `shop_order` (
-- --------------------------------------------------------
--
-- Table structure for table `shop_mileage`
--
DROP TABLE IF EXISTS `shop_mileage`;
CREATE TABLE IF NOT EXISTS `shop_mileage` (
`ml_id` INT(11) NOT NULL AUTO_INCREMENT,
`mb_id` VARCHAR(255) NOT NULL DEFAULT '',
`od_id` BIGINT(20) unsigned NOT NULL,
`ct_id` INT(11) NOT NULL DEFAULT '0',
`ml_content` VARCHAR(255) NOT NULL DEFAULT '',
`ml_point` INT(11) NOT NULL DEFAULT '0',
`ml_datetime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`ml_id`),
KEY `mb_id` (`mb_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `shop_wish`
--