Closed halftrainedharry closed 1 year ago
@halftrainedharry could you get create Tables running with the schema like yours? This doesn't seem to work for me. createObjectContainer can't get a instance with $this->xpdo->newObject($className);
I just now tested it, and it created the database table successfully. On MODX 3.0.2, I installed MIGX, replaced the 2 files from this PR and used the schema I posted above.
Thanks @halftrainedharry! My issue was, I had still version="1.1" in my schema
Adds some changes, so that the basic functionality of the Package Manager works in MODX 3.
With a schema like this
and the buttons "Create Package", "save Schema", "parse Schema" and "create Tables", it is then possible to create a config with Package =
mypackage
and Classname =mypackage\Myclass
in the "MIGXdb-Settings" tab and successfully add/edit data in a CMP (if the PRs #394 and #395 are applied as well).