@@ -12,10 +12,12 @@ CREATE TABLE `game_genre_relations` (
1212 ` genre_id` varchar (36 ) NOT NULL ,
1313 ` game_id` varchar (36 ) NOT NULL ,
1414 PRIMARY KEY (` genre_id` ,` game_id` ),
15- KEY ` fk_game_genre_relations_game_table2_v11 ` (` game_id` ),
15+ KEY ` fk_game_genre_relations_game_table2_v12 ` (` game_id` ),
1616 CONSTRAINT ` fk_game_genre_relations_game_genre_table_v10` FOREIGN KEY (` genre_id` ) REFERENCES ` game_genres` (` id` ),
1717 CONSTRAINT ` fk_game_genre_relations_game_genre_table_v11` FOREIGN KEY (` genre_id` ) REFERENCES ` game_genres` (` id` ),
18+ CONSTRAINT ` fk_game_genre_relations_game_genre_table_v12` FOREIGN KEY (` genre_id` ) REFERENCES ` game_genres` (` id` ),
1819 CONSTRAINT ` fk_game_genre_relations_game_table2_v11` FOREIGN KEY (` game_id` ) REFERENCES ` games` (` id` ),
20+ CONSTRAINT ` fk_game_genre_relations_game_table2_v12` FOREIGN KEY (` game_id` ) REFERENCES ` games` (` id` ),
1921 CONSTRAINT ` fk_game_genre_relations_game_table2_v5` FOREIGN KEY (` game_id` ) REFERENCES ` games` (` id` )
2022) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4
2123```
@@ -35,15 +37,17 @@ CREATE TABLE `game_genre_relations` (
3537| ---- | ---- | ---------- |
3638| fk_game_genre_relations_game_genre_table_v10 | FOREIGN KEY | FOREIGN KEY (genre_id) REFERENCES game_genres (id) |
3739| fk_game_genre_relations_game_genre_table_v11 | FOREIGN KEY | FOREIGN KEY (genre_id) REFERENCES game_genres (id) |
40+ | fk_game_genre_relations_game_genre_table_v12 | FOREIGN KEY | FOREIGN KEY (genre_id) REFERENCES game_genres (id) |
3841| fk_game_genre_relations_game_table2_v11 | FOREIGN KEY | FOREIGN KEY (game_id) REFERENCES games (id) |
42+ | fk_game_genre_relations_game_table2_v12 | FOREIGN KEY | FOREIGN KEY (game_id) REFERENCES games (id) |
3943| fk_game_genre_relations_game_table2_v5 | FOREIGN KEY | FOREIGN KEY (game_id) REFERENCES games (id) |
4044| PRIMARY | PRIMARY KEY | PRIMARY KEY (genre_id, game_id) |
4145
4246## Indexes
4347
4448| Name | Definition |
4549| ---- | ---------- |
46- | fk_game_genre_relations_game_table2_v11 | KEY fk_game_genre_relations_game_table2_v11 (game_id) USING BTREE |
50+ | fk_game_genre_relations_game_table2_v12 | KEY fk_game_genre_relations_game_table2_v12 (game_id) USING BTREE |
4751| PRIMARY | PRIMARY KEY (genre_id, game_id) USING BTREE |
4852
4953## Relations
0 commit comments