1
0
mirror of synced 2024-12-14 07:06:04 +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: user:
tables: tableName: user
user: className: User
name: user columns:
class: User id:
columns: type: integer
id: autoincrement: true
name: id username:
type: integer type: string
notnull: true length: 11
autoincrement: true
username: user_group:
name: username tableName: user_group
type: string className: UserGroup
length: 20 columns:
notnull: true user_id:
group: type: int
name: group length: 11
class: Group foreignClass: User
columns: foreignReference: id
id: localClass: Group
name: id localName: Groups
type: integer foreignName: User
notnull: true primary: true
autoincrement: true counterpart: group_id
name: group_id:
name: name type: int
type: string length: 11
length: 20 foreignClass: Group
notnull: true 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