1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/schema.yml

40 lines
594 B
YAML
Raw Normal View History

2007-09-13 23:06:04 +04:00
---
2007-09-18 00:39:37 +04:00
User:
2007-09-14 23:06:52 +04:00
tableName: user
className: User
columns:
id:
type: integer
autoincrement: true
username:
type: string
length: 11
2007-09-18 00:39:37 +04:00
UserGroup:
2007-09-14 23:06:52 +04:00
tableName: user_group
className: UserGroup
columns:
user_id:
type: int
length: 11
group_id:
type: int
length: 11
2007-09-18 00:39:37 +04:00
relations:
User:
foreign: id
local: user_id
Group:
foreign: id
local: group_id
2007-09-14 23:06:52 +04:00
2007-09-18 00:39:37 +04:00
Group:
2007-09-14 23:06:52 +04:00
tableName: group
className: Group
columns:
id:
type: integer
autoincrement: true
name:
type: string
length: 255