Jump to main content Jump to doc navigation

Changes to the core model (adding/changing/removing database fields or tables), need to be applied to the XML schema files in core/model/schema/.

Once changes are made in the schema, they need to build to the model files for xPDO to use.

Preparation

If you haven't already, make sure you've copied _build/build.properties.sample.php to _build/build.properties.php. No changes to the file are necessary.

Building

Use Composer to run the build script for all schema files and build the model files:

composer run-script parse-schema

or

php composer.phar run-script parse-schema

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
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

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

Learn more