Hi,

Is there a way to add RelatedJoins to tables on the fly, when the tables have already been created?

I have two objects, Optimizer and OptimizerTeam, that I want to link with a RelatedJoin, without wiping out all the rows I currently have stored. I tried running the following in the hopes of creating the table OptimizerTeams_Optimizers, but it did not work. Any pointers?

Optimizer.sqlmeta.addJoin(RelatedJoin('OptimizerTeam',joinMethodName='OptimizerTeams'))
OptimizerTeam.sqlmeta.addJoin(RelatedJoin('Optimizer', joinMethodName='Optimizers'))

Thanks,
Molly