PHP Classes

File: schema.xml

Recommend this page to a friend!
  Classes of Richard Heyes   XML Db Schema Interpreter   schema.xml   Download  
File: schema.xml
Role: ???
Content type: text/plain
Description: An example schema
Class: XML Db Schema Interpreter
Interprets database schemas written in XML
Author: By
Last change:
Date: 23 years ago
Size: 624 bytes


Class file image Download
<?xml version="1.0"?> <database name="xml_test" if_not_exists="yes"> <table name="xmltest" if_not_exists="yes" options="TYPE=ISAM"> <field name="p_key" type="int" size="10" null="no" default="0" extra="AUTO_INCREMENT" /> <field name="name" type="char" size="10" null="no" /> <field name="surname" type="char" size="10" null="no" /> <key type="primary" field="p_key" /> <key type="unique" field="surname" name="idx_surname" /> <key type="index" field="name" name="idx_name" /> </table> </database>