Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Devel Schema Change Helper

Security covered Under active development 2 sites

Part of the Devel ecosystem · 15 projects

This module provides tools for developers to manage field changes at the storage, configuration, instance, and database levels. It helps with tasks like renaming fields and updating their definitions, though it currently does not support entity reference fields.

This module provides helper tools, to help with various field changes on the field storage, config, instance and database level.

Hopefully this will one day be solved in core for better DX: #937442: Field type modules cannot maintain their field schema (field type schema change C(R)UD is needed)
Until that, this module offers its help for developers :)

Motivation

Currently in Drupal, there is no proper way, to modify existing fields on field storage / database level. For example, if you want to modify the (machine) name of a given field or update the storage definition in some other way. Data needs to be changed on field storage, field config, field instance and database level.

This developer module tries to do the heavy lifting for your field conversion, so you only have to make some minor adjustments

Known Problems

General

  • The module currently does NOT support migrating "entity_reference" fields.

Rename command specific

  • Field conversion currently moves the English translation to the original field config (even if English is not set as the original field language) and deletes any existing translations. This might be a core bug.
  • "third_party_settings" and other field config keys might still relate to old field_names

Features

  • Rename field to given field name ✅
  • Update field to latest field definition ❌
  • Remove field schema column ❌
  • Add field schema column ❌

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Ask your assistant about Devel Schema Change Helper

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha2 Pre-release 10–11 Mar 28, 2024
1.0.0-alpha1 Pre-release 10–11 Mar 25, 2024
1.x-dev Dev 10–11 Mar 25, 2024