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:
@ -14,6 +14,7 @@ import { AttachmentModule } from './attachment/attachment.module';
|
||||
import { ActivityModule } from './activity/activity.module';
|
||||
import { ViewModule } from './view/view.module';
|
||||
import { FavoriteModule } from './favorite/favorite.module';
|
||||
import { TenantModule } from './tenant/tenant.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@ -31,6 +32,7 @@ import { FavoriteModule } from './favorite/favorite.module';
|
||||
ActivityModule,
|
||||
ViewModule,
|
||||
FavoriteModule,
|
||||
TenantModule,
|
||||
],
|
||||
exports: [
|
||||
AuthModule,
|
||||
|
||||
Reference in New Issue
Block a user