-- Deploy gaia:api_2020_06_10_create_push_gift_record_table to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_push_gift_record` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `user_id` integer NOT NULL,
    `gift_id` integer NOT NULL,
    `create_time` datetime(6) NOT NULL,
    `update_time` datetime(6) NOT NULL
);

CREATE INDEX `api_push_gift_record_1ffdedc6` ON `api_push_gift_record` (`user_id`);

COMMIT;
