Show
Ignore:
Timestamp:
06/23/08 17:54:30 (7 months ago)
Author:
aarti_pl
Message:

- updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/database/TestSchema.schema

    r38 r42  
    1 Table (BOOK) { 
    2     long    (ID) PrimaryKey AutoIncrement 
    3     string     (AUTHOR, 2000) 
    4     string  (TITLE, 2000) 
     1Table (AUTHORS) { 
     2   long    (ID) PrimaryKey AutoIncrement 
     3   string  (FIRSTNAME, 2000) 
     4    string  (SURNAME, 2000) 
    55} 
    66 
    7 Table (BORROW_RECORD) { 
     7Table (BOOKS) { 
    88    long    (ID) PrimaryKey AutoIncrement 
    9     int     (BOOK_ID) Reference(BOOK) 
    10     string  (PERSON, 2000) Index 
    11     long    (BORROWED) Index 
    12     long    (RETURNED) Index 
     9    long    (AUTHOR_ID) Reference(AUTHORS) 
     10    string  (TITLE, 2000) 
    1311}