Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Getting rid of custom schema and DB queries.
Proposed resolution
We could store the user settings as a field on user, or probably easier: using the user.data service (users_data table).
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | comment-notity-2618172-4.patch | 23.61 KB | gnuget |
| |||
#4 | comment-notity-2618172-3-4-interdiff.txt | 3.6 KB | gnuget |
Comments
Comment #2
gnugetOk.
Here a first try.
This still needs a
hook_update
to migrate the users from the old table to theuserData
table.also, it needs another
hook_update
to delete the old table.Comment #3
gnugetComment #4
gnugetNew patch this one includes the
hook_update
that migrate all the settings to theuser_data
table.Comment #6
gnuget