Login   Register  
PHP Classes
elePHPant
Icontem

File: autoincrement.schema

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Metabase  >  autoincrement.schema  >  Download  
File: autoincrement.schema
Role: Auxiliary data
Content type: text/plain
Description: Driver conformance database schema for testing auto-increment fields
Class: Metabase
PHP Database abstraction layer RDBMS independent
Author: By
Last change: Added the fields author and score.
Date: 9 years ago
Size: 697 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
     autoincrement.schema

     @(#) $Id: autoincrement.schema,v 1.2 2005/09/19 00:14:43 mlemos Exp $

  -->

<database>

 <name><variable>name</variable></name>
 <create>0</create>

 <table>
  <name>articles</name>
  <declaration>
   <field> <name>id</name>       <autoincrement>1</autoincrement> </field>
   <field> <name>title</name>    <type>text</type>                </field>
   <field> <name>body</name>     <type>text</type>                </field>
   <field> <name>author</name>   <type>integer</type>             </field>
   <field> <name>score</name>    <type>float</type>               </field>
  </declaration>
 </table>

</database>