github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-01 08:33 am

[dreamwidth/dreamwidth] 651989: Fix update-db.pl to not require running twice on f...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 6519898408b5ed5106023a78af12de3ab3d0b334 https://github.com/dreamwidth/dreamwidth/commit/6519898408b5ed5106023a78af12de3ab3d0b334 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M bin/upgrading/update-db-general.pl M bin/upgrading/update-db.pl

Log Message:


Fix update-db.pl to not require running twice on fresh databases

Re-check for dbnotes table after table creation so alters can run in the same pass. Also fix MySQL 8.0+ compatibility in acctcode timegenerate column_type check, which dropped integer display widths causing the alter to run repeatedly.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications