Review 13.4 Merged

86870[BUGFIX] Add update wizard to prevent truncation error in DB upgrade

Benjamin Franzke CR +2 V +2 Hard +359 −0 updated 11/04/24, 18:34

Commit message

Table fields previously set to be nullable can not be migrated
(ALTERed) to "NOT NULL" if any row contains a NULL value in such
a field (which is likely for nullable fields).

A migration wizard is added that sets fields to their (future) default
value (if available) if the current value of a field is NULL
and the column is about to be changed from NULL(able) to NOT NULL.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 2

Files 8

Review log 34

  1. Benjamin Franzke commented on patch set 1 11/04/24, 18:08

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/04/24, 18:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/69049

  3. Benjamin Franzke voted on patch set 1 CR +2 V +2 11/04/24, 18:34

  4. Benjamin Franzke merged patch set 2 11/04/24, 18:34