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:
Weiko
2023-09-14 14:39:37 +02:00
committed by GitHub
parent e96f2ece7c
commit d98ddc3dbe
15 changed files with 830 additions and 6 deletions

View File

@ -0,0 +1,9 @@
import { Module } from '@nestjs/common';
import { DataSourceService } from './services/datasource.service';
@Module({
exports: [DataSourceService],
providers: [DataSourceService],
})
export class DataSourceModule {}