Failure to update schema due to unsaved weight

Created on 6 January 2024, 9 months ago
Updated 20 January 2024, 8 months ago

Problem/Motivation

Looks like the weight field wasn't always saved to 0 in all previous versions of entity_hierarchy. So updating the schema to not null fails.

Steps to reproduce

Have a database with a NULL weight and attempt to run entity_hierarchy_post_update_update_weight_column.

Proposed resolution

Set NULL records to 0.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code (module)

Created by

πŸ‡¦πŸ‡ΊAustralia nterbogt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024