Handle changes to the schema provided by a field type

Created on 17 September 2014, over 10 years ago
Updated 30 August 2024, 5 months ago

Problem/Motivation

When changing the schema provided by a field type (e.g. IntegerItem::schema()) we would have to migrate the storage for all instances of this field. Currently, we do not handle this situation.

We do track the schema that has been previously installed, but only by keeping track of old definitions + generating the old schema from them. But given the new code, the old schema will be generated differently as well.

Proposed resolution

Schema changes to a field type's schema were not officially supported in d7 either, but modules like entity reference shipped with custom updates taking care of it manually. So we need to
a) decide whether we want to officially support this and
b) find a good solution to the problem if we want to.

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
Field 

Last updated about 1 hour ago

Created by

🇦🇹Austria fago Vienna

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024