- Issue created by @claudiadesiderio
- Merge request !13CO2: Adding new update function for database in order to update the value to... → (Merged) created by claudiadesiderio
- 🇵🇹Portugal claudiadesiderio
A new hook_update_N() function was added to .module in order to update the CO2 table.
In this new function, we update the value for the field field_identifier, which was introduced in the previous update of the module. - 🇵🇹Portugal claudiadesiderio
After new tests, we found that the error occurred again, and the previous fix did not fully resolve the problem.
It will be necessary to add an extra validation to the data insertion function in the table. - Merge request !15Resolve #3524980 "Update field identifier value old table rows" → (Merged) created by claudiadesiderio
- 🇵🇹Portugal claudiadesiderio
What changed:
- New Primary key to the schema: from ID to UUID
- Added hook_entity_update function to update URL for the entities
- We updated the table with the UUID for entities that were already registered