Hi,
I'm trying to create a field using field_create_field method. Everything works fine. I have tried to write an uninstaller for that. Table name and it's data is renamed to field_delete_9 (id of the created field) however constraint name is not altered and it still keeps the pk_field_fname. Which when I install again causes a problem that such a constraint name exists.
I was not able to find in the code where this alter operation occured (haven't looked very hard though). I suppose it evaluates as a bug. contstraint should be either be altered too or be deleted as the table is only kept for recovery purporses...
Comments
Comment #1
radalin commentedcorrected the driver version.
Comment #2
bohartD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
Everyone can apply the patches/suggestions above (not tested by the maintainers, tested by the community) to their D7 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!