migrations

  • An audit log that a lawyer could read

    A dispute, and a log that recorded that something changed. “Order updated” with no before, no after and no actor.

  • A foreign key is an index you did not have to name

    InnoDB requires an index on the referencing column and creates one silently if none exists, which is convenient and produces indexes nobody chose. The auto-created index is a…

  • Types are gone, four years after the deprecation

    Mapping types were deprecated in 6.0, made single-only in 7.0 and removed entirely in 8.0, which is an unusually long and well-signposted removal. The four-year runway means most…

  • The 8.x client refuses a 7.x cluster, deliberately

    The official clients check a product header and refuse to talk to anything that is not the version they expect, which makes a rolling upgrade a coordinated one.…

  • A block theme is a directory of HTML files

    5.9 on 25 January, and templates/ replaces the template hierarchy. A theme with 41 PHP templates and an editor that cannot see any of them.

  • theme.json v2 renamed the keys you just learned

    Version 2 arrives with 5.9, six months after version 1, and moves several keys — a file written in 2021 needs migrating. The customTemplates and templateParts sections are…

  • Enums, and the string column that was pretending

    8.1 on 25 November, and the feature PHP had been simulating with class constants for a decade. A status column holding three spellings of the same thing.

  • Symfony 6 requires PHP 8 and that is the whole upgrade

    5.4 LTS and 6.0 on the same day, and a deprecation log with four thousand lines nobody reads. The work is all in 5.4.

  • The report that should have been a materialised view

    MySQL has no materialised views and the report needs one anyway. A summary table, a watermark, and the backdated edit that breaks both.

  • Event delegation moved to the root in 17

    React 16 attached every handler to document and 17 attaches them to the root container, which changes what stopPropagation can prevent. The change exists to make two React…