1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Tools/doctrine1schema/schema.yml
2011-06-28 15:50:14 -04:00

28 lines
487 B
YAML

User:
tableName: users
columns:
username:
type: string(255)
length: 100
notnull: true
unique: true
password:
type: string(255)
clob: clob
test_alias as theAlias:
type: string(255)
indexes:
username:
fields: [username]
type: unique
Profile:
columns:
first_name: string(255)
last_name: string(255)
user_id: integer
relations:
User:
onDelete: CASCADE
foreignType: one
type: one