Complete all standard object migration to the new workspace schema (#2492)

* Complete all standard object migration to the new workspace schema

* Fixes
This commit is contained in:
Charles Bochet
2023-11-14 10:24:36 +01:00
committed by GitHub
parent f476129afa
commit 5566e6fba8
31 changed files with 531 additions and 51 deletions

View File

@ -0,0 +1,19 @@
import {
TenantMigrationColumnActionType,
TenantMigrationTableAction,
} from 'src/metadata/tenant-migration/tenant-migration.entity';
export const addWorkspaceMemberRelations: TenantMigrationTableAction[] = [
{
name: 'workspaceMember',
action: 'alter',
columns: [
{
columnName: 'settingId',
referencedTableName: 'workspaceMemberSetting',
referencedTableColumnName: 'id',
action: TenantMigrationColumnActionType.RELATION,
},
],
},
];