Wasn't sure if this should go here or in Setup and Administration, but it seems this is the right place, so here goes. I am setting up an experiment DB. The experiments use devices that have different properties (most notably number of injection points). So, within the experiment inventory I will have experiments that have anywhere from 4 injection points to 12 injection points. An each injection point has 6 characteristics. So, I have an experiment table with some IDs including device_id and other info, a device table which tells how many injection points, then an experiment_inventory table. This experiment_inventory table has those 6 characteristics for each injection point (the variable number). My question is thus, is there a nice way to handle the dynamic nature of the number of injection points aside from having characteristica1...characteristica12, characteristicb1...characteristicb12 etc., where any unused injection points are just left null?
For instance Experiment A uses Device 8B, which has 2 injection points whereas Experiment B uses Device 3A which has 10 injection points. Now, in the experiment inventory (where I track what was injected, volume, concentration, markers leakage etc.), I have to track those characteristics for 2 injection points (each discretely) and 10 injection points. I know I can make a larger number of fields and just leave unused fields NULL, but I was wondering if anybody had another solution>
Thanks!
wb
For instance Experiment A uses Device 8B, which has 2 injection points whereas Experiment B uses Device 3A which has 10 injection points. Now, in the experiment inventory (where I track what was injected, volume, concentration, markers leakage etc.), I have to track those characteristics for 2 injection points (each discretely) and 10 injection points. I know I can make a larger number of fields and just leave unused fields NULL, but I was wondering if anybody had another solution>
Thanks!
wb