1
0
mirror of synced 2024-12-17 16:38:43 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Tools/doctrine1schema/schema.yml

29 lines
511 B
YAML
Raw Normal View History

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
onUpdate: CASCADE
foreignType: one
type: one