-- Deploy mimas-qa:qa_2019_11_06_create_table_api_kolanswer_relation_tag to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_kolanswer_relation_tag` (
	`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
	`kol_answer_id` integer NOT NULL,
	`tag_id` integer NOT NULL
);

CREATE INDEX `api_kolanswer_relation_tag_c078d5c4` ON `api_kolanswer_relation_tag` (`kol_answer_id`);
CREATE INDEX `api_kolanswer_relation_tag_76f094bc` ON `api_kolanswer_relation_tag` (`tag_id`);

COMMIT;
