SQL-mirror 120 (after 119.2)

// old
data-types
	integer: "BIGINT"
	decimal: "DECIMAL"
	date: "DATE"
	date-time: "DATETIME"

// new (MySQL defaults; SQL Server starts its DATETIME range at 204018912000, 1753-01-01)
data-types
	integer: "BIGINT" [ -9223372036854775807 , 9223372036854775807 ]
	decimal: "DECIMAL" [ -9223372036854775807 , 9223372036854775807 ]
	date: "DATE" [ 2086302 , 5373483 ]
	date-time: "DATETIME" [ 180256492800 , 464269017599 ]

Upgrading a mapping from 119.1 or 119.2. ./alan upgrade runs the transformation for every sql-mirror system; by hand, from the project root:

.alan/devenv/system-types/sql-mirror/upgrade/upgrade.sh 119.2 systems/<sys>

The script reads the dialect from the mapping’s identifier-delimiter: line, because the dialect decides the ranges. It rewrites mapping.alan in place, keeping the SQL types that are there and adding the widest range the dialect documents; nothing else in the mapping changes. The bounds are raw datastore values, not SQL literals, so a mirror on a DATETIME2 column, or one that wants a narrower window than its column allows, edits the two numbers afterwards.