Initialize TypeORM for Group entity

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-08-13 20:22:04 +02:00
parent 68a0852691
commit 40034a4a84
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -1,4 +1,8 @@
import { Module } from '@nestjs/common'; import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Group } from './group.entity';
@Module({}) @Module({
imports: [TypeOrmModule.forFeature([Group])],
})
export class GroupsModule {} export class GroupsModule {}