sintonia/library/propel/test/etc/schema/tabletest-schema.xml

26 lines
873 B
XML

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
<database name="iddb" defaultIdMethod="native">
<table name="table_native">
<!--
Added the autoIncrement attribute to get run-tests.php running.
Without autoIncrement=true the idMethod will get reset to
IDMethod::NO_ID_METHOD in Table::doFinalInitialization() and
the test (expecting IDMethod::NATIVE) will fail.
Hope this makes sense.
-->
<column name="table_a_id" required="true" autoIncrement="true" primaryKey="true" type="INTEGER" />
<column name="col_a" type="CHAR" size="5" />
</table>
<table name="table_none" idMethod="none">
<column name="table_a_id" required="true" primaryKey="true" type="INTEGER" />
<column name="col_a" type="CHAR" size="5" />
</table>
</database>