<?xml version="1.0" encoding="utf-8"?>
<database name="bookstore-cms" defaultPhpNamingMethod="nochange" package="cms">

	<table name="Page" idMethod="native" treeMode="NestedSet">
		<column name="Id" type="INTEGER" required="true" autoIncrement="true" primaryKey="true"/>
		<column name="LeftChild" type="INTEGER" required="true" nestedSetLeftKey="true"/>
		<column name="RightChild" type="INTEGER" required="true" nestedSetRightKey="true"/>
		<column name="Title" type="VARCHAR" size="255" />
	</table>

</database>

<?xml version="1.0" encoding="utf-8"?>
<database name="bookstore-cms" defaultPhpNamingMethod="nochange" package="cms">

	<table name="Page" idMethod="native" treeMode="NestedSet">
		<column name="Id" type="INTEGER" required="true" autoIncrement="true" primaryKey="true"/>
		<column name="LeftChild" type="INTEGER" required="true" nestedSetLeftKey="true"/>
		<column name="RightChild" type="INTEGER" required="true" nestedSetRightKey="true"/>
		<column name="scopeId" type="INTEGER" required="true" default="0" treeScopeKey="true"/>
		<column name="Title" type="VARCHAR" size="255" />
	</table>

</database>

Add treeScopeKey to support multiple root in tree
Add treeScopeKey to support multiple root in tree

