Location: PHPKode > projects > DIY Blog > diy-blog/lib/propel/generator/projects/treetest/treetest-schema.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "../dtd/database.dtd">

<database name="treetest" defaultIdMethod="none" noxsd="true">

  <table name="test" isTree="true" description="Test">
    <column
      name="npath"
      required="true"
      nodeKey="true"
      nodeKeySep="."
      primaryKey="true"
      type="VARCHAR"
      size="80"
      description="Node Path"/>
    <column
      name="label"
      required="true"
      type="VARCHAR"
      size="10"
      description="Label"/>
    <unique name="pk">
      <unique-column name="label"/>
    </unique>
    <unique name="ck">
      <unique-column name="npath"/>
    </unique>
  </table>

</database>
Return current item: DIY Blog