···11-CREATE TABLE `pokemon` (
22- `id` integer PRIMARY KEY NOT NULL,
33- `name` text NOT NULL,
44- `dex_id` integer NOT NULL
55-);
66---> statement-breakpoint
77-CREATE TABLE `pokemon_types` (
88- `id` integer PRIMARY KEY NOT NULL,
99- `pokemon_id` integer NOT NULL,
1010- `type_id` integer NOT NULL,
1111- FOREIGN KEY (`pokemon_id`) REFERENCES `pokemon`(`id`) ON UPDATE no action ON DELETE no action,
1212- FOREIGN KEY (`type_id`) REFERENCES `types`(`id`) ON UPDATE no action ON DELETE no action
1313-);
1414---> statement-breakpoint
1515-CREATE INDEX `idx_pt_pokemon` ON `pokemon_types` (`pokemon_id`);--> statement-breakpoint
1616-CREATE INDEX `idx_pt_type` ON `pokemon_types` (`type_id`);--> statement-breakpoint
1717-CREATE TABLE `types` (
1818- `id` integer PRIMARY KEY NOT NULL,
1919- `name` text NOT NULL
2020-);