I'm trying to develop a plugin that has a relationship with the Sales Channel Entity. I don't need the Sales Channel to have the list of my custom Entity so I implemented a ManyToOne unidirectional on my CustomEntity. The code seems to work but I'm running into a TypeORM error when deploying the changes to my Medusa Backend (see image attached). I also tried to create a custom SalesChannel entity on my plugin but again I face the same issue but with the SalesChannel Location.
Could be there anything I'm doing wrong? Or, is it really not supported to reference Medusa Core Entities into custom plugins?
PS: I tried to put the same code directly into my medusa backend and everything seemed to work good, but I really need it to be a plugin to be reusable