must be cakephp expert
I have a table that has 2 flags specifying if there are two followup deals. So these share same table field values as original Deal.
What's required:
1. To have each type of Deal (original, 2, 3) to be stored as separate `deals` table row.
2. To have a mapper(pivot) table that interconnects 3 types of same deal in `deals` table by storing their respective ids.
3. Adjust the rest of the script code that was relying on old `deals` schema to support new one.