mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-10-26 15:06:07 +01:00
Fix everything needed for correct build
This commit is contained in:
14
backend/src/database/database.module.ts
Normal file
14
backend/src/database/database.module.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { EarlyConfigModule } from '../config/early/early-config.module';
|
||||
import { TypeOrmConfigService } from '../config/early/type-orm.config.service';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forRootAsync({
|
||||
useExisting: TypeOrmConfigService,
|
||||
imports: [EarlyConfigModule],
|
||||
}),
|
||||
],
|
||||
})
|
||||
export class DatabaseModule {}
|
||||
Reference in New Issue
Block a user