Add Admin module and entity

This commit is contained in:
Errormacr
2023-11-20 11:45:25 +03:00
parent f424d6ffe6
commit c53b37590a
7 changed files with 87 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from './database/user.entity';
import { Admin } from './database/admin.entity';
@Module({
imports: [TypeOrmModule.forFeature([User])],
imports: [TypeOrmModule.forFeature([User, Admin])],
exports: [TypeOrmModule],
})
export class LibsModule {}