amount 필드명 price 로 변경
This commit is contained in:
@ -493,7 +493,6 @@ if($shop_install) {
|
||||
fwrite($f, "\$g4['shop_wish_table'] = SHOP_TABLE_PREFIX.'wish'; // 보관함(위시리스트) 테이블\n");
|
||||
fwrite($f, "\$g4['shop_coupon_table'] = SHOP_TABLE_PREFIX.'coupon'; // 쿠폰정보 테이블\n");
|
||||
fwrite($f, "\$g4['shop_sendcost_table'] = SHOP_TABLE_PREFIX.'sendcost'; // 추가배송비 테이블\n");
|
||||
fwrite($f, "\$g4['shop_request_table'] = SHOP_TABLE_PREFIX.'request'; // 주문 취소, 교환, 반품 요청테이블\n");
|
||||
fwrite($f, "\$g4['shop_personalpay_table'] = SHOP_TABLE_PREFIX.'personalpay'; // 개인결제 정보 테이블\n");
|
||||
fwrite($f, "\$g4['shop_order_address_table'] = SHOP_TABLE_PREFIX.'order_address'; // 배송지이력 정보 테이블\n");
|
||||
fwrite($f, "?>");
|
||||
|
||||
@ -37,7 +37,7 @@ CREATE TABLE IF NOT EXISTS `shop_cart` (
|
||||
`ct_history` text NOT NULL,
|
||||
`ct_price` int(11) NOT NULL DEFAULT '0',
|
||||
`ct_point` int(11) NOT NULL DEFAULT '0',
|
||||
`cp_amount` int(11) NOT NULL DEFAULT '0',
|
||||
`cp_price` int(11) NOT NULL DEFAULT '0',
|
||||
`ct_point_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`ct_stock_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`ct_option` varchar(255) NOT NULL DEFAULT '',
|
||||
@ -122,7 +122,7 @@ CREATE TABLE IF NOT EXISTS `shop_coupon` (
|
||||
`mb_id` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`cp_start` DATE NOT NULL DEFAULT '0000-00-00',
|
||||
`cp_end` DATE NOT NULL DEFAULT '0000-00-00',
|
||||
`cp_amount` INT(11) NOT NULL DEFAULT '0',
|
||||
`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',
|
||||
@ -397,7 +397,7 @@ CREATE TABLE IF NOT EXISTS `shop_item` (
|
||||
`it_stock_qty` int(11) NOT NULL DEFAULT '0',
|
||||
`it_sc_type` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`it_sc_method` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`it_sc_amount` int(11) NOT NULL DEFAULT '0',
|
||||
`it_sc_price` int(11) NOT NULL DEFAULT '0',
|
||||
`it_sc_minimum` int(11) NOT NULL DEFAULT '0',
|
||||
`it_sc_qty` int(11) NOT NULL DEFAULT '0',
|
||||
`it_head_html` text NOT NULL,
|
||||
@ -573,17 +573,18 @@ CREATE TABLE IF NOT EXISTS `shop_order` (
|
||||
`od_b_addr2` varchar(100) NOT NULL DEFAULT '',
|
||||
`od_memo` text NOT NULL,
|
||||
`od_cart_count` int(11) NOT NULL DEFAULT '0',
|
||||
`od_cart_amount` int(11) NOT NULL DEFAULT '0',
|
||||
`od_cart_price` int(11) NOT NULL DEFAULT '0',
|
||||
`od_cart_coupon` int(11) NOT NULL DEFAULT '0',
|
||||
`od_send_cost` int(11) NOT NULL DEFAULT '0',
|
||||
`od_send_coupon` int(11) NOT NULL DEFAULT '0',
|
||||
`od_send_cost2` int(11) NOT NULL DEFAULT '0',
|
||||
`od_receipt_amount` int(11) NOT NULL DEFAULT '0',
|
||||
`od_cancel_amount` int(11) NOT NULL DEFAULT '0',
|
||||
`od_receipt_price` int(11) NOT NULL DEFAULT '0',
|
||||
`od_cancel_price` int(11) NOT NULL DEFAULT '0',
|
||||
`od_receipt_point` int(11) NOT NULL DEFAULT '0',
|
||||
`od_bank_account` varchar(255) NOT NULL DEFAULT '',
|
||||
`od_receipt_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`od_coupon` int(11) NOT NULL DEFAULT '0',
|
||||
`od_misu` int(11) NOT NULL DEFAULT '0',
|
||||
`od_shop_memo` text NOT NULL,
|
||||
`od_mod_history` text NOT NULL,
|
||||
`od_status` varchar(255) NOT NULL DEFAULT '',
|
||||
@ -649,10 +650,10 @@ CREATE TABLE IF NOT EXISTS `shop_personalpay` (
|
||||
`pp_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`pp_content` TEXT NOT NULL,
|
||||
`pp_use` TINYINT(4) NOT NULL DEFAULT '0',
|
||||
`pp_amount` INT(11) NOT NULL DEFAULT '0',
|
||||
`pp_price` INT(11) NOT NULL DEFAULT '0',
|
||||
`pp_tno` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`pp_app_no` VARCHAR(20) NOT NULL DEFAULT '',
|
||||
`pp_receipt_amount` INT(11) NOT NULL DEFAULT '0',
|
||||
`pp_receipt_price` INT(11) NOT NULL DEFAULT '0',
|
||||
`pp_settle_case` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`pp_bank_account` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`pp_deposit_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
@ -677,7 +678,7 @@ CREATE TABLE IF NOT EXISTS `shop_sendcost` (
|
||||
`sc_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`sc_zip1` VARCHAR(10) NOT NULL DEFAULT '',
|
||||
`sc_zip2` VARCHAR(10) NOT NULL DEFAULT '',
|
||||
`sc_amount` INT(11) NOT NULL DEFAULT '0',
|
||||
`sc_price` INT(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`sc_id`),
|
||||
KEY `sc_zip1` (`sc_zip1`),
|
||||
KEY `sc_zip2` (`sc_zip2`)
|
||||
|
||||
Reference in New Issue
Block a user