-- Deploy mimas-talos:talos_2019_06_26_create_table_tractate_new_tag to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_tractate_new_tag` (
	`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
	`tractate_id` integer NOT NULL,
	`tag_id` INT NOT NULL,
	`create_time` datetime(6) NOT NULL,
	`update_time` datetime(6) NOT NULL
);

CREATE INDEX `api_tractate_new_tag_5f3745c8` ON `api_tractate_new_tag` (`tractate_id`);

COMMIT;
