github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/tests/lightning_tool_241/data/qyjc.q_fish_event-schema.sql (about) 1 CREATE TABLE `q_fish_event` ( 2 `id` int(11) unsigned NOT NULL AUTO_INCREMENT, 3 `host_id` int(11) unsigned NOT NULL, 4 `group_id` int(11) unsigned NOT NULL, 5 `reason` varchar(1000) NOT NULL DEFAULT '', 6 `affected_url` varchar(1000) NOT NULL DEFAULT '', 7 `fish_id` int(11) unsigned NOT NULL, 8 `level` tinyint(1) NOT NULL DEFAULT '2', 9 `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', 10 `updated_at` timestamp NULL DEFAULT NULL, 11 `status` tinyint(1) NOT NULL DEFAULT '0', 12 PRIMARY KEY (`id`), 13 KEY `created_at` (`created_at`) USING BTREE, 14 KEY `idx_event_id` (`host_id`,`group_id`,`created_at`) 15 ) ENGINE=InnoDB AUTO_INCREMENT=8343230 DEFAULT CHARSET=utf8;