-- Deploy mimas-qa:qa_2020_05_08_create_table_api_answer_v3_attr_tag to mysql

BEGIN;

-- XXX Add DDLs here.

CREATE TABLE `api_answer_v3_attr_tag` (
	`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
	`answer_id` integer NOT NULL,
	`attr_tag_id` integer NOT NULL
);

CREATE INDEX `api_answer_v3_attr_tag_fb12e902` ON `api_answer_v3_attr_tag` (`answer_id`);
CREATE INDEX `api_answer_v3_attr_tag_551fe27a` ON `api_answer_v3_attr_tag` (`attr_tag_id`);

COMMIT;
