Updated syntax
This commit is contained in:
parent
8e57185e30
commit
d62500e76b
@ -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
|
Loading…
Reference in New Issue
Block a user