# Bug OP-14986 - Migration from 11 to 14 fails due to obsolete migration step

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.1.0 |
| Observed in versions |  |
| Sprint | 14.1.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.  Create an OpenProject 11 database dump
    
    1.  `docker run -d --name op11 openproject/openproject:11`
        
    2.  `docker exec -it op11 su - postgres -c 'pg_dump -d openproject -x -O' > op11.sql`
        
2.  Import that to an existing db
    
3.  Try to migrate to 14
    
    1.  `docker run --rm -e DATABASE_URL=postgres://existing-db... openproject/openproject:14`
        

### What is the buggy behavior?

*   the migration fails with the following error
    

```text
PG::UndefinedTable: ERROR:  relation "good_jobs" does not exist
LINE 10:  WHERE a.attrelid = '"good_jobs"'::regclass
```

### What is the expected behavior?

*   the migration should work
    

### Environment information

**OpenProject installation type**

*   [ ] Hosted cloud edition
*   [x] Packaged installation
    *   What distribution?
        
*   [x] Docker All-in-one container
*   [x] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

_v14.0.1_
