mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
<schema ... tablecolumnorder="false"> The above snippet will disable column order checking for tables. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46517 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63 lines
2.0 KiB
XML
63 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Test data used by the XMLToSchemaTest junit test class.
|
|
-->
|
|
<schema
|
|
xmlns="http://www.alfresco.org/repo/db-schema"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.alfresco.org/repo/db-schema db-schema.xsd"
|
|
name="alfresco"
|
|
dbprefix="myprefix_"
|
|
version="325"
|
|
tablecolumnorder="true">
|
|
<objects>
|
|
<table name="node">
|
|
<columns>
|
|
<column name="id" order="1">
|
|
<type>NUMBER(10)</type>
|
|
<nullable>false</nullable>
|
|
<autoincrement>true</autoincrement>
|
|
</column>
|
|
<column name="nodeRef" order="3">
|
|
<type>VARCHAR2(200)</type>
|
|
<nullable>false</nullable>
|
|
</column>
|
|
<column name="name" order="2">
|
|
<type>VARCHAR2(150)</type>
|
|
<nullable>true</nullable>
|
|
</column>
|
|
</columns>
|
|
<primarykey name="pk_node">
|
|
<columnnames>
|
|
<columnname order="1">id</columnname>
|
|
</columnnames>
|
|
</primarykey>
|
|
<foreignkeys>
|
|
<foreignkey name="fk_node_noderef">
|
|
<localcolumn>nodeRef</localcolumn>
|
|
<targettable>node</targettable>
|
|
<targetcolumn>nodeRef</targetcolumn>
|
|
</foreignkey>
|
|
</foreignkeys>
|
|
<indexes>
|
|
<index name="idx_node_by_id" unique="true">
|
|
<columnnames>
|
|
<columnname>id</columnname>
|
|
<columnname>nodeRef</columnname>
|
|
</columnnames>
|
|
<validators>
|
|
<validator class="org.alfresco.util.schemacomp.validator.NameValidator">
|
|
<properties>
|
|
<property name="pattern">idx_.+</property>
|
|
</properties>
|
|
</validator>
|
|
</validators>
|
|
</index>
|
|
</indexes>
|
|
</table>
|
|
<sequence name="node_seq"/>
|
|
<sequence name="person_seq"/>
|
|
<sequence name="content_seq"/>
|
|
</objects>
|
|
</schema>
|