This bundle integrates Kaviar's Core with MikroORM. A solution that allows us to easily work with SQL databases in a type-safe way.
You can install @mikro-orm/postgresql and others too. Please refer to the official documentation
The default way of adding entities is through
options.entities or through specifying a place and path for reading files and loading them.
However, when dealing with multiple bundles that extend this logic, we provide the following concept:
If you want to run mikro-orm cli commands follow the guide here: https://mikro-orm.io/docs/installation#setting-up-the-commandline-tool
The only difference is how the config file looks like. You will basically have to isolate your file kernel like this: