create table if not exists order_amount (
    id                           bigint        primary key,
    payment_key                  varchar(255)  not null,
    approved_amount              integer       not null,
    easypay_discount_amount      integer       not null,
    card_discount_amount         integer       not null,
    transfer_discount_amount     integer       not null,

    constraint uk_order_amount__payment_key unique (payment_key)
);
