-- Deploy gaia:2020_2_19_tag_wiki_relate to mysql

BEGIN;

CREATE TABLE `api_tag_wiki` (
        `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
        `attr_tag_id` INTEGER NOT NULL,
        `wiki_id` INTEGER NOT NULL,
        `wiki_type` varchar(2) NOT NULL DEFAULT 1
        );

COMMIT;
