Fix 0.32 (#8319)
- Removing unique constraint creation in 0.32 as we have a dependency on sync-metadata and sync-metadata has a dependency on it if we keep it. - sync-metadata does not support well the deletion of activity + activityTarget, silently swallow the exception for now
This commit is contained in:
@ -107,12 +107,11 @@ export class EnforceUniqueConstraintsCommand extends ActiveWorkspacesCommandRunn
|
||||
dryRun: boolean,
|
||||
options: EnforceUniqueConstraintsCommandOptions,
|
||||
): Promise<void> {
|
||||
await this.enforceUniquePersonEmail(workspaceId, dryRun);
|
||||
|
||||
if (options.company) {
|
||||
await this.enforceUniqueCompanyDomainName(workspaceId, dryRun);
|
||||
}
|
||||
if (options.person) {
|
||||
await this.enforceUniquePersonEmail(workspaceId, dryRun);
|
||||
}
|
||||
if (options.viewField) {
|
||||
await this.enforceUniqueViewField(workspaceId, dryRun);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user