1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Updated syntax

This commit is contained in:
Jonathan.Wage 2007-09-14 19:06:52 +00:00
parent 8e57185e30
commit d62500e76b

View File

@ -1,31 +1,48 @@
---
schema:
tables:
user:
name: user
class: User
columns:
id:
name: id
type: integer
notnull: true
autoincrement: true
username:
name: username
type: string
length: 20
notnull: true
group:
name: group
class: Group
columns:
id:
name: id
type: integer
notnull: true
autoincrement: true
name:
name: name
type: string
length: 20
notnull: true
user:
tableName: user
className: User
columns:
id:
type: integer
autoincrement: true
username:
type: string
length: 11
user_group:
tableName: user_group
className: UserGroup
columns:
user_id:
type: int
length: 11
foreignClass: User
foreignReference: id
localClass: Group
localName: Groups
foreignName: User
primary: true
counterpart: group_id
group_id:
type: int
length: 11
foreignClass: Group
foreignReference: id
localClass: User
localName: Users
foreignName: Group
primary: true
counterpart: user_id
group:
tableName: group
className: Group
columns:
id:
type: integer
autoincrement: true
name:
type: string
length: 255