Building the core model
Last updated Dec 17th, 2019 | Page history | Improve this page | Report an issue
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
Budget
$301 per month—let's make that $500!
Learn moreIf 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
Budget
$301 per month—let's make that $500!
Learn more