forked from Shared/esg
database migrated to POSTGRESQL
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { MongooseModule } from '@nestjs/mongoose';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { InquiryLogsController } from './inquiry-logs.controller';
|
||||
import { InquiryLogService } from './inquiry-log.service';
|
||||
import { InquiryLog, InquiryLogSchema } from './schemas/inquiry-log.schema';
|
||||
import { InquiryLog } from './schemas/inquiry-log.schema';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
MongooseModule.forFeature([{ name: InquiryLog.name, schema: InquiryLogSchema }]),
|
||||
],
|
||||
imports: [TypeOrmModule.forFeature([InquiryLog])],
|
||||
controllers: [InquiryLogsController],
|
||||
providers: [InquiryLogService],
|
||||
exports: [InquiryLogService],
|
||||
|
||||
Reference in New Issue
Block a user