Here is the scenario: As part of a managed package, we have 3 objects. Object A & Object C are Masters and Object B is the junction object between A & C. We packaged it all up and all good up until now.
However, now while attempting to refactor some of the package code, I no longer need a junction object and would like to remove the relationship that Object B has with A & C.
1) What is the best way, if there is one, to deprecate/delete Object C without deleting A & B? It would be nice if I can downgrade the relationship between B & C to a look up and then upload it to the package but I am not sure that is doable or not. I think it will fail during deploy time.
2) I am ok with downgrading both A & C relationships to lookups instead of master-detail, would I be able to do that as part of managed package?
3) If there is no way of doing this, can I delete Object B from the managed package? This should allow A & C to turn into standalone objects, correct? At which point I can deprecate Object C as needed and recreate a look up relationship between A & B.
Any thoughts? Help would be greatly appreciated! Thanks Praful