add migration and entities for uploads upload_zk upload_hotlink.
This commit is contained in:
@@ -3,6 +3,7 @@ import { ConfigModule, ConfigService, registerAs } from '@nestjs/config';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { getAppConfig, getPostgresConfig } from './config';
|
||||
import { HealthCheckModule } from './modules/healthCheck/HealthCheckModule';
|
||||
import { UploadModule } from './modules/upload/UploadModule';
|
||||
import { Config } from './types/Config';
|
||||
|
||||
@Module({
|
||||
@@ -15,7 +16,8 @@ import { Config } from './types/Config';
|
||||
useFactory: (configService: ConfigService) => configService.get('postgres') as Config['postgres'],
|
||||
inject: [ConfigService]
|
||||
}),
|
||||
HealthCheckModule
|
||||
HealthCheckModule,
|
||||
UploadModule
|
||||
]
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user