* adding typeorm to api * switching to sqlite * switching to sqlite * switching to sqlite * migrating to sqlite * updating terraform * updating infrastructure
16 lines
431 B
TypeScript
16 lines
431 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { PilotController } from './pilot.controller';
|
|
import { PilotService } from './pilot.service';
|
|
import { PilotEntity } from './pilot.entity';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([PilotEntity])
|
|
],
|
|
controllers: [PilotController],
|
|
exports: [PilotService],
|
|
providers: [PilotService]
|
|
})
|
|
export class PilotModule {}
|