Store the policy JSON columns as TEXT for MySQL 5.6

The branch stored scopejson, desiredstate and params as sa.JSON, the only JSON
columns in the product. MySQL 5.6 has no JSON type - it arrived in 5.7 - and the
migration failed there with a bare syntax error near the word JSON.

They are TEXT now, through a JSONText type decorator, so the seventeen call sites
still assign and read dicts. The convention elsewhere is already TEXT:
guides.blocksjson, geenforce.manifestjson.

Spec regenerated: 331 paths, 477 operations across 22 surfaces.
This commit is contained in:
2026-08-28 16:18:34 -04:00
parent 80bb7b5ba1
commit 7bda8e6d60
4 changed files with 1668 additions and 6 deletions

File diff suppressed because it is too large Load Diff