Removing fields with extra properties results in data loss

Created on 14 July 2025, about 5 hours ago

Problem/Motivation

When trying to convert from an image field to a media field I ran ddev ^Cush custom_field:remove-column and targeted the image subfield.

I saw this error:

* entity_type_id: paragraph
 * field_name: field_success_social
 * column: icon
 Proceed with removing this column? (yes/no) [yes]:
 > y
> In ExceptionHandler.php line 56:
>   SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_success_social_icon__width' in 'INSERT INTO': INSERT INTO "paragraph__field_success_soc  
>   ial"

The table is now empty.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024