Manual:GenerateSchemaSql.php

Details
This maintenance script build SQL files from abstract JSON files. The feature to generate SQL files from abstract JSON file was introduced in MediaWiki 1.35 by RFC: T191231. MediaWiki is using Doctrine DBAL library to generate DDL files from the abstractions. Please read more here.

Options
generateSchemaSql.php accepts following three options.

Usage

 * Example actorTable.json


 * Generating MySQL file from actorTable.json

Output:-


 * Generating SQLite file from actorTable.json

Output:-