Add AuthorColor entity

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-08-13 20:22:30 +02:00
parent 40034a4a84
commit ba9d7a6572
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 25 additions and 1 deletions

View file

@ -1,10 +1,11 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthorColor } from './author-color.entity';
import { Note } from './note.entity';
import { NotesService } from './notes.service';
@Module({
imports: [TypeOrmModule.forFeature([Note])],
imports: [TypeOrmModule.forFeature([Note, AuthorColor])],
controllers: [],
providers: [NotesService],
exports: [NotesService],