Updated to new schema format.
This commit is contained in:
parent
a170822788
commit
670b4831a7
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
user:
|
User:
|
||||||
tableName: user
|
tableName: user
|
||||||
className: User
|
className: User
|
||||||
columns:
|
columns:
|
||||||
@ -10,33 +10,29 @@ user:
|
|||||||
type: string
|
type: string
|
||||||
length: 11
|
length: 11
|
||||||
|
|
||||||
user_group:
|
UserGroup:
|
||||||
tableName: user_group
|
tableName: user_group
|
||||||
className: UserGroup
|
className: UserGroup
|
||||||
columns:
|
columns:
|
||||||
user_id:
|
user_id:
|
||||||
type: int
|
type: int
|
||||||
length: 11
|
length: 11
|
||||||
foreignClass: User
|
|
||||||
foreignReference: id
|
|
||||||
localClass: Group
|
|
||||||
localName: Groups
|
|
||||||
foreignName: User
|
|
||||||
primary: true
|
|
||||||
counterpart: group_id
|
|
||||||
group_id:
|
group_id:
|
||||||
type: int
|
type: int
|
||||||
length: 11
|
length: 11
|
||||||
foreignClass: Group
|
relations:
|
||||||
foreignReference: id
|
User:
|
||||||
localClass: User
|
class: User
|
||||||
localName: Users
|
alias: User
|
||||||
foreignName: Group
|
foreign: id
|
||||||
primary: true
|
local: user_id
|
||||||
counterpart: user_id
|
Group:
|
||||||
|
class: Group
|
||||||
|
alias: Group
|
||||||
|
foreign: id
|
||||||
|
local: group_id
|
||||||
|
|
||||||
group:
|
Group:
|
||||||
tableName: group
|
tableName: group
|
||||||
className: Group
|
className: Group
|
||||||
columns:
|
columns:
|
||||||
|
Loading…
Reference in New Issue
Block a user