Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Devel Schema Change Helper

Security covered

Part of the Devel ecosystem · 12 projects

View on drupal.org

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!

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 Release date
1.0.0-alpha2 Pre-release Mar 28, 2024
1.0.0-alpha1 Pre-release Mar 25, 2024
1.x-dev Dev Mar 25, 2024