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:
@ -522,6 +522,10 @@ export class WorkspaceMigrationRunnerService {
|
||||
);
|
||||
|
||||
if (!foreignKeyName) {
|
||||
// Todo: Remove this temporary hack tied to 0.32 upgrade
|
||||
if (migrationColumn.columnName === 'activityId') {
|
||||
return;
|
||||
}
|
||||
throw new Error(
|
||||
`Foreign key not found for column ${migrationColumn.columnName}`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user