-- Deploy gaia:2020_03_26_add_api_plastic_appeal_card to mysql

BEGIN;

CREATE TABLE `api_plastic_appeal_card` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `appeal_tag_id` integer NOT NULL,
    `similar_star_name` varchar(20) NOT NULL,
    `similar_star_image` varchar(200) NOT NULL,
    `cost_range` varchar(25) NOT NULL,
    `created_time` datetime(6) NOT NULL,
    `updated_time` datetime(6) NOT NULL,
    `is_online` bool NOT NULL
);

COMMIT;
