multi tenant schemas poc (#1569)
* Multi-tenant db schemas POC * fix tests and use query builders * remove synchronize * restore updatedAt * remove unnecessary import * use queryRunner * fix camelcase * add migrations for standard objects * Multi-tenant db schemas POC * fix tests and use query builders * remove synchronize * restore updatedAt * remove unnecessary import * use queryRunner * fix camelcase * add migrations for standard objects * add metadata * add comments * remove migrations for now * do not allow connection to public schema for non-remote workspace connection * rename getLastDataSourceMetadataFromWorkspaceIdOrFail * remove schema creation * remove module import
This commit is contained in:
9
server/src/core/tenant/datasource/datasource.module.ts
Normal file
9
server/src/core/tenant/datasource/datasource.module.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
import { DataSourceService } from './services/datasource.service';
|
||||
|
||||
@Module({
|
||||
exports: [DataSourceService],
|
||||
providers: [DataSourceService],
|
||||
})
|
||||
export class DataSourceModule {}
|
||||
Reference in New Issue
Block a user