eric24V - 2026-02-02

Hello,
I successfully changed the work order’s parent class to ticket by redefining the whole class like this:

    <class id="WorkOrder" _delta="redefine">
      <parent>Ticket</parent>
      <properties>
        <db_table>ticket_workorder</db_table>

Keeping the workorder table wouldn’t make sense because the IDs will not match the IDs of the new parent class ticket. I changed the table name from workorder to ticket_workorder to continue the naming convention.

For migration I have the following idea:
1. Export all WorkOrder objects using REST API because CSV-Export has problems escaping special characters in log entries.
2. Delete all WorkOrder objects to be clean
3. Run setup to change data model and database tables
4. Import WorkOrders

Any link like [[WorkOrder:123|my WorkOrder]] will not work anymore and history will be lost.
But how can I preserve inline images and attachments?