Can someone check database-basics.rst in the 4.x branch, section "Connecting Custom Datatypes to Schema Reflection and Generation".
First it was changed in 8eccbbd from _initializeSchema() to initialize() and then it was changed again in 986c2d6 from _initializeSchema() to getSchema() and ended up in a weird state:
class WidgetsTable extends Table
{
public function getSchema(): TableSchemaInterface
{
$this->getSchema()->setColumnType('widget_prefs', 'json');
}
}