Skip to content
Snippets Groups Projects
Commit bba3f160 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Added $decimalFieldStorageEntity->setSetting('column_changes_handled', TRUE);...

Added $decimalFieldStorageEntity->setSetting('column_changes_handled', TRUE); to the MR as suggested in comment 359
parent 3f251eab
No related branches found
No related tags found
2 merge requests!8282Issue #2230909: Simple decimals fail to pass validation,!579Issue #2230909: Simple decimals fail to pass validation
...@@ -40,6 +40,7 @@ function field_update_10001() { ...@@ -40,6 +40,7 @@ function field_update_10001() {
// Set the new precision and scale values if they changed: // Set the new precision and scale values if they changed:
if ($precisionValue !== $newPrecisionValue || $scaleValue !== $newScaleValue) { if ($precisionValue !== $newPrecisionValue || $scaleValue !== $newScaleValue) {
$decimalFieldStorageEntity->setSetting('column_changes_handled', TRUE);
$decimalFieldStorageEntity->setSetting('precision', $newPrecisionValue); $decimalFieldStorageEntity->setSetting('precision', $newPrecisionValue);
$decimalFieldStorageEntity->setSetting('scale', $newScaleValue); $decimalFieldStorageEntity->setSetting('scale', $newScaleValue);
// Update the field storage definition: // Update the field storage definition:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment