So I'm helping out on a project to rewrite an old web site.
The data is in MySQL
They want to move the data into Drupal and build the new site in Drupal
The MySQL database has many tables that have 1-to-many relationships
I know next to nothing about Drupal but have been reading documentation like crazy over the last couple days.
Lets take the simple example of a Band and it's Locations (yeah bands can move)
In the existing MySQL database there is a Band table, Location table (has unique Regions, Countries and states/provinces)
There is a relationship table that relates Band to Location so the Band -> Location is a 1-to-Many
I understand the basics of Content Types and Nodes and now how you'd relate 2 Nodes of different content types using the Views Module and Views Attachment. Perfect!
now the BIG question...
I've been looking into the Feeds module (and the Migrate module) to try and figure out how to get all this data from MySQL into Drupal
I think I could fairly easily use the Feeds module after exporting the data from MySQL to CSV files
but how to I keep the 1-to-Many relationships???
If I export/import the band table and the location table I have a big list of bands (and details) and a very clean list of unique countries with their states/provinces. But not the relationship, it's stored in the relationship table.