-- Deploy gaia:2019_11_18_add_table_pay_merchantpayorder to mysql

BEGIN;

CREATE TABLE `pay_merchantpayorder` (
    `amount` double precision NOT NULL,
    `merchant_id` bigint,
    `pay_amount` double precision NOT NULL,
    `paid_time` datetime(6),
    `third_app_id` varchar(128),
    `uniqueOrderNo` varchar(128) NOT NULL UNIQUE,
    `update_time` datetime(6) NOT NULL,
    `notify_data` longtext,
    `id` varchar(128) NOT NULL PRIMARY KEY,
    `create_time` datetime(6) NOT NULL,
    `status` integer NOT NULL,
    `paytype` integer NOT NULL
)
;



COMMIT;
