generated from pricelees/issue-pr-template
[#35] 결제 스키마 재정의 & 예약 조회 페이지 개선 #36
@ -115,7 +115,7 @@ create table if not exists payment_card_detail (
|
||||
owner_type varchar(10) not null,
|
||||
amount integer not null,
|
||||
card_number varchar(20) not null,
|
||||
approval_number varchar(8) not null unique,
|
||||
approval_number varchar(8) not null, -- 실제로는 unique 이지만 테스트 결제 위젯에서는 항상 000000으로 동일한 값이 나옴.
|
||||
installment_plan_months tinyint not null,
|
||||
is_interest_free boolean not null,
|
||||
easypay_provider_code varchar(20),
|
||||
@ -136,13 +136,14 @@ create table if not exists payment_easypay_prepaid_detail(
|
||||
create table if not exists canceled_payment1(
|
||||
id bigint primary key,
|
||||
payment_id bigint not null,
|
||||
requested_at timestamp not null,
|
||||
canceled_at timestamp not null,
|
||||
canceled_by bigint not null,
|
||||
cancel_reason varchar(255) not null,
|
||||
cancel_amount integer not null,
|
||||
cardDiscountAmount integer not null,
|
||||
transferDiscountAmount integer not null,
|
||||
easyPayDiscountAmount integer not null,
|
||||
card_discount_amount integer not null,
|
||||
transfer_discount_amount integer not null,
|
||||
easypay_discount_amount integer not null,
|
||||
|
||||
constraint uk_canceled_payment1__paymentId unique (payment_id),
|
||||
constraint fk_canceled_payment__paymentId foreign key (payment_id) references payment1(id),
|
||||
|
||||
@ -123,7 +123,7 @@ create table if not exists payment_card_detail
|
||||
owner_type varchar(10) not null,
|
||||
amount integer not null,
|
||||
card_number varchar(20) not null,
|
||||
approval_number varchar(8) not null unique,
|
||||
approval_number varchar(8) not null, -- 실제로는 unique 이지만 테스트 결제 위젯에서는 항상 000000으로 동일한 값이 나옴.
|
||||
installment_plan_months tinyint not null,
|
||||
is_interest_free boolean not null,
|
||||
easypay_provider_code varchar(20),
|
||||
@ -146,13 +146,14 @@ create table if not exists canceled_payment1
|
||||
(
|
||||
id bigint primary key,
|
||||
payment_id bigint not null,
|
||||
requested_at datetime(6) not null,
|
||||
canceled_at datetime(6) not null,
|
||||
canceled_by bigint not null,
|
||||
cancel_reason varchar(255) not null,
|
||||
cancel_amount integer not null,
|
||||
cardDiscountAmount integer not null,
|
||||
transferDiscountAmount integer not null,
|
||||
easyPayDiscountAmount integer not null,
|
||||
card_discount_amount integer not null,
|
||||
transfer_discount_amount integer not null,
|
||||
easypay_discount_amount integer not null,
|
||||
|
||||
constraint uk_canceled_payment1__paymentId unique (payment_id),
|
||||
constraint fk_canceled_payment__paymentId foreign key (payment_id) references payment1(id),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user