# Bug OP-8857 - Migrations for 11.4.0 run very long

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8857

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions |  |
| Sprint | 12.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Steps to reproduce:**

1.  Run the migrations for 11.4.0 on a larger database

### **Actual Behavior**

```bash
== 20210615150558 AggregateJournals: migrated (635.3529s) ===================== 
== 20210616145324 PolymorphicJournalData: migrated (912.5821s) =====================
```

### **Expected Behavior**

Faster execution as this might otherwise become a problem for SaaS
