We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4892
    • 7 Posts
    Hi I know that this is probably an easy fix but I'm using the latest Modx (2.5.0) with the latest version of Migx DB and I can't seem to get the migx db to parse my Schema.

    Here's the steps I took in Migx
    1. I created the package hrNews
    2. Went to the xml Schema tab and created a Schema
    3. went to parse schema tab and pressed create and nothing happens.

    I'm not sure what I'm doing wrong. my schema looks like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <model package="hrNews" baseClass="xPDOObject" platform="mysql" defaultEngine="MyISAM" version="1.1">
    <object class="hrNews" table="news" extends="xPDOSimpleObject">
    <field key="title" dbtype="varchar" precision="250" phptype="string" null="false" default=""/>
    <field key="desc" dbtype="varchar" precision="250" phptype="string" null="false" default=""/>
    <field key="date" dbtype="varchar" precision="250" phptype="string" null="false" default=""/>
    <field key="published" dbtype="int" precision="1" attributes="unsigned" phptype="integer" null="false" default="0"/>
    < field key="deleted" dbtype="int" precision="1" attributes="unsigned" phptype="integer" null="false" default="0"/>
    </object>
    </model>

    Any thoughts on what I might be doing wrong?
    thanks
    Chris