mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-05 14:20:40 +01:00
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE adodb_schema [
|
|
<!ELEMENT schema (table*, sql*)>
|
|
<!ATTLIST schema version CDATA #REQUIRED>
|
|
<!ELEMENT table ((field+|DROP), constraint*, descr?, index*)>
|
|
<!ELEMENT field ((NOTNULL|KEY|PRIMARY)?, (AUTO|AUTOINCREMENT)?, (DEFAULT|DEFDATE|DEFTIMESTAMP)?, NOQUOTE, constraint, descr?)>
|
|
<!ELEMENT descr (#CDATA)>
|
|
<!ELEMENT NOTNULL EMPTY>
|
|
<!ELEMENT KEY EMPTY>
|
|
<!ELEMENT PRIMARY EMPTY>
|
|
<!ELEMENT AUTO EMPTY>
|
|
<!ELEMENT AUTOINCREMENT EMPTY>
|
|
<!ELEMENT DEFAULT EMPTY>
|
|
<!ELEMENT DEFDATE EMPTY>
|
|
<!ELEMENT DEFTIMESTAMP EMPTY>
|
|
<!ELEMENT NOQUOTE EMPTY>
|
|
<!ELEMENT DROP EMPTY>
|
|
<!ELEMENT constraint (#CDATA)>
|
|
<!ATTLIST table name CDATA #REQUIRED platform CDATA #IMPLIED version CDATA #IMPLIED>
|
|
<!ATTLIST field name CDATA #REQUIRED type (C|C2|X|X2|B|D|T|L|I|F|N) #REQUIRED size CDATA #IMPLIED>
|
|
<!ATTLIST DEFAULT value CDATA #REQUIRED>
|
|
<!ELEMENT index ((col+|DROP), CLUSTERED?, BITMAP?, UNIQUE?, FULLTEXT?, HASH?, descr?)>
|
|
<!ELEMENT col (#CDATA)>
|
|
<!ELEMENT CLUSTERED EMPTY>
|
|
<!ELEMENT BITMAP EMPTY>
|
|
<!ELEMENT UNIQUE EMPTY>
|
|
<!ELEMENT FULLTEXT EMPTY>
|
|
<!ELEMENT HASH EMPTY>
|
|
<!ATTLIST index name CDATA #REQUIRED>
|
|
<!ELEMENT sql (query+, descr?)>
|
|
<!ELEMENT query (#CDATA)>
|
|
<!ATTLIST sql name CDATA #IMPLIED platform CDATA #IMPLIED, key CDATA, prefixmethod (AUTO|MANUAL|NONE) >
|
|
] >
|