-- Deploy gaia:2019_07_19_create_table_agile_tag_hera_recommend to mysql

BEGIN;

-- XXX Add DDLs here.

CREATE TABLE `api_agile_tag_hera_recommend` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `is_online` bool NOT NULL,
    `create_time` datetime(6) NOT NULL,
    `update_time` datetime(6) NOT NULL,
    `agile_recommend_type` varchar(11) NOT NULL,
    `agile_tab_type` varchar(11) NOT NULL,
    `agile_tag_sort_ids` longtext NOT NULL,
    UNIQUE (`agile_recommend_type`, `agile_tab_type`)
);

COMMIT;
