tabletest-schema.xml 873 B

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