# Bug OP-17207 - Database migration 20240405131352_create_meeting_sections fails on Update

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Meetings |
| Target versions | 16.0.1 |
| Observed in versions | 16.0.0 |
| Sprint | 16.0.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.0.x |
| 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 | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Install OpenProject 13.4.4

2.  Create a classic meeting

3.  Upgrade to OpenProject 16.0.0

### What is the buggy behavior?

  - You get a migration error:

I, [2025-05-28T10:03:43.848032 <mention class="mention" data-id="18373" data-type="work_package" data-text="#18373">#18373</mention>]  INFO -- : Migrating to CreateMeetingSections (20240405131352)  
\== 20240405131352 CreateMeetingSections: migrating ============================  
\-- create\_table(:meeting\_sections)  
  -\> 0.0083s  
\-- add\_reference(:meeting\_agenda\_items, :meeting\_section)  
  -\> 0.0027s  
rake aborted\!  
StandardError: An error has occurred, this and all later migrations canceled: (StandardError)

The single-table inheritance mechanism failed to locate the subclass: 'StructuredMeeting'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Meeting.inheritance\_column to use another column for that information. If you wish to disable single-table inheritance for Meeting set Meeting.inheritance\_column to nil  
...

### What is the expected behavior?

1.  DB migration works
    
    <br>

### **Workaround**

<br>

Upgrade to 14.1.0 first and then to 16.0.0

###
