Here's my situation...I am making a website of games. Each games has many modes, and each game also has many puzzles. For example, if the game is a word search game, a puzzle will be a unique grid of letters, and a mode will be how the game is scored. Perhaps in the first mode the game is timed, and in the second mode, the game is not timed. And if you keep the same mode but change the "puzzle" of the game, then the collection of letters in the word search changes,but the way the game is scored stays the same. Therefore, each game has many modes and many puzzles.
However, the best way for me to design this is really to create a HABTM table for modes and puzzles (each puzzle has many modes, each mode has many puzzles and each game has many mode_puzzles, if you will). Because that way I can say each mode_puzzle has many highscores. So the structure would be
Game->Mode_Puzzle->Highscore.
However making this is really annoying because each game has hundreds of puzzles and modes are really related to the games and not the individual puzzles. It's such overkill, if I have 10 games of 100 puzzles each and 5 modes per game to create a table of 5,000 rows, when it's as simple as every mode belongs to every puzzle for each game.
So my question is, does CakePHP support an autogenerated HABTM table? Or do I have to create a table manually despite the fact that the logic of the table is so self explanatory?