Describe the bug
#2661 patched the addColumnOptionsSpec DEFAULT-clause substring assertions for CockroachDB and Postgres, but the same spec still fails on MySQL across all three actively-tested engines (Lucee 6, Lucee 7, BoxLang).
Failing spec
wheels.migrator.addColumnOptionsSpec :: text with a real default (non-empty) still emits DEFAULT
Assertion message:
The needle [DEFAULT] was not found in [ NULL]
The emitted SQL contains NULL instead of DEFAULT '<value>' on MySQL. Either the migrator emits a different DEFAULT clause for MySQL text columns, or the assertion's substring check needs the same MySQL-aware branch that #2661 added for CockroachDB / Postgres.
Reproduction
tools/test-matrix.sh lucee7 mysql
# or
curl 'http://localhost:60007/wheels/core/tests?db=mysql&format=json&directory=tests.specs.migrator'
Evidence
Compat-matrix run 25978222394 (develop, 2026-05-17):
lucee6/mysql: 1 fail (this spec)
lucee7/mysql: 1 fail (this spec)
boxlang/mysql: 2 fail (this spec + a separate boxlang-only locking issue)
Expected behavior
Spec passes on MySQL with the same fix shape used in #2661 for CockroachDB and Postgres.
Related
Describe the bug
#2661 patched the
addColumnOptionsSpecDEFAULT-clause substring assertions for CockroachDB and Postgres, but the same spec still fails on MySQL across all three actively-tested engines (Lucee 6, Lucee 7, BoxLang).Failing spec
Assertion message:
The emitted SQL contains
NULLinstead ofDEFAULT '<value>'on MySQL. Either the migrator emits a different DEFAULT clause for MySQL text columns, or the assertion's substring check needs the same MySQL-aware branch that #2661 added for CockroachDB / Postgres.Reproduction
Evidence
Compat-matrix run 25978222394 (develop, 2026-05-17):
lucee6/mysql: 1 fail (this spec)lucee7/mysql: 1 fail (this spec)boxlang/mysql: 2 fail (this spec + a separate boxlang-only locking issue)Expected behavior
Spec passes on MySQL with the same fix shape used in #2661 for CockroachDB and Postgres.
Related