<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
-->
<database
    xmlns="http://db.apache.org/torque/5.0/templates/database"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://db.apache.org/torque/5.0/templates/database
        https://db.apache.org/torque/torque-5.0/documentation/orm-reference/database-5-0.xsd"
    name="extext"
    defaultIdMethod="idbroker">
    
    <!-- TODO Torque-369
    
    Assuming that if an external schema is referenced it is always (?) 
    for the same database and the 'database element name attribute in an external schema is just an identifier,
    but not a new database.
    Assuming this, rootDatabaseName is just the identifer, but not the database and
    this might make sense just to define parts of the same database in different xml files.
     
        external-schema filename="ext-schema.xml"/>
     -->

  <table name="extext">
    <column
      name="extext_id"
      required="true"
      primaryKey="true"
      type="INTEGER"
    />
    <column
      name="test"
      required="true"
      type="VARCHAR"
      size="15"
    />
  </table>
</database>
