source: trunk/phpgwapi/inc/adodb/tests/xmlschema.xml @ 2

Revision 2, 848 bytes checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?xml version="1.0"?>
2<schema version="0.2">
3  <table name="mytable">
4    <field name="row1" type="I">
5      <descr>An integer row that's a primary key and autoincrements</descr>
6      <KEY/>
7      <AUTOINCREMENT/>
8    </field>
9    <field name="row2" type="C" size="16">
10      <descr>A 16 character varchar row that can't be null</descr>
11      <NOTNULL/>
12    </field>
13    <index name="myindex">
14      <col>row1</col>
15      <col>row2</col>
16    </index>
17  </table>
18  <sql>
19    <descr>SQL to be executed only on specific platforms</descr>
20    <query platform="postgres|postgres7">
21      insert into mytable ( row1, row2 ) values ( 12, 'postgres stuff' )
22    </query>
23    <query platform="mysql">
24      insert into mytable ( row1, row2 ) values ( 12, 'mysql stuff' )
25    </query>
26  </sql>
27  <table name="obsoletetable">
28    <DROP/>
29  </table>
30</schema>
Note: See TracBrowser for help on using the repository browser.