Since MikroORM 3.2, we can use
EntitySchema helper to define own entities without
Read more about
EntitySchemain this section.
Here is an example of such entity:
Do not forget to provide
pathschema parameters as well as
Reference parameter can be one of (where
SCALAR is the default one):
You can register your entities as usual.