amount 필드명 price 로 변경

This commit is contained in:
chicpro
2013-09-11 15:52:33 +09:00
parent a61215ad14
commit 97cf079a0f
60 changed files with 837 additions and 805 deletions

View File

@ -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`)