Convert metadata tables to camelCase (#2400)
* Convert metadata tables to camelCase * datasourcemetadataid to datasourceid * refactor metadata folders * fix command * move commands out of metadata * fix seed * rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE * fix field-metadata * Fix * Fix * remove logs --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
import { DataSourceEntity } from 'src/database/typeorm/metadata/entities/data-source.entity';
|
||||
|
||||
import { DataSourceMetadataService } from './data-source-metadata.service';
|
||||
import { DataSourceMetadata } from './data-source-metadata.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([DataSourceMetadata], 'metadata')],
|
||||
imports: [TypeOrmModule.forFeature([DataSourceEntity], 'metadata')],
|
||||
providers: [DataSourceMetadataService],
|
||||
exports: [DataSourceMetadataService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user