-- Deploy gaia:api_2020_03_02_create_table_tab_operate_relation_tag_v3 to mysql

BEGIN;

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

CREATE INDEX `api_tab_operate_v2_tag_v3_538bee77` ON `api_tab_operate_v2_tag_v3` (`tab_operate_v2_id`);
CREATE INDEX `api_tab_operate_v2_tag_v3_eb20a4b7` ON `api_tab_operate_v2_tag_v3` (`tag_v3_id`);

COMMIT;
