Jump to main content Jump to doc navigation

If you're working on the core model and need to re-generate the model based on the core schema, you can use the following commands.

For MySQL

Building modx.mysql.schema.xml:

core/vendor/bin/xpdo parse-schema --config=core/model/schema/config.php --psr4=MODX\\ --update=1 mysql core/model/schema/modx.mysql.schema.xml core/src/

For sqlsrv

Building modx.sqlsrv.schema.xml:

core/vendor/bin/xpdo parse-schema --config=core/model/schema/config.php --psr4=MODX\\ --update=1 sqlsrv core/model/schema/modx.sqlsrv.schema.xml core/src/

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Raffy
  • eydolan
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • deJaya
  • Sepia River Studios
  • Following Sea
  • Anton Tarasov
  • Lefthandmedia
  • Nick Clark
  • Chris Fickling
  • Murray Wood
  • YJ
  • CrewMark
  • Richard

Budget

$305 per month—let's make that $500!

Learn more