chore(backend): Setup MikroORM
Simpele configuratie, geen integratie Succesvol commando's uitvoeren werkt
This commit is contained in:
parent
6d73120975
commit
2f280d3fb2
8 changed files with 1341 additions and 191 deletions
6
backend/src/orm.ts
Normal file
6
backend/src/orm.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { MikroORM } from '@mikro-orm/core'
|
||||
import config from './mikro-orm.config';
|
||||
|
||||
export default async function initORM() {
|
||||
await MikroORM.init(config);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue