Idea
Django has this feature to migrate content when your model schema changes: https://docs.djangoproject.com/en/5.0/topics/migrations/
Drupal is very flexible for extensions, but it is difficult to make changes.
Site architecture can get messy as revising the structure and naming things is work that nobody has time for.
If it was easy to make changes, our sites would be a lot cleaner.
Implementation
- Click on change field
- Select new field type
- Show current settings beside new field options.
- Attempt to prepopulate options.
- Rules needed per conversion.
- Options for user?
- Create migration for field.
- Show preview of migration results.
- Create migration file and database update hook.
- Migration and update hook can be checked in for deployment.
Options
- Split field
- Move values from one field into another.
- Duplicate field
- Duplicate field and values.
- Option to override properties before saving, like changing multivalue to single.
- Rename field
- Duplicate field and copy values, remove old vield.
- Does this already exist?
- Merge fields
- Merge 2 or more fields together.
- Null coalesce values.
- Replace/skip confirmation.
Project updates