mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-26 02:07:55 +00:00
changed entity and type structure
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { SpaceEntity } from './entities/space.entity';
|
||||
import { SpaceEntity, SpaceTypeEntity } from './entities';
|
||||
|
||||
@Module({
|
||||
providers: [],
|
||||
exports: [],
|
||||
controllers: [],
|
||||
imports: [TypeOrmModule.forFeature([SpaceEntity])],
|
||||
imports: [TypeOrmModule.forFeature([SpaceEntity, SpaceTypeEntity])],
|
||||
})
|
||||
export class SpaceRepositoryModule {}
|
||||
|
||||
Reference in New Issue
Block a user