diff --git a/manual/docs/en/schema-files.txt b/manual/docs/en/schema-files.txt index 0528caee6..80db02285 100644 --- a/manual/docs/en/schema-files.txt +++ b/manual/docs/en/schema-files.txt @@ -108,10 +108,40 @@ GroupUser: primary: true ++++ One to One Aggregate + + +--- +User: + columns: + id: + type: integer(4) + primary: true + autoincrement: true + contact_id: + type: integer(4) + username: + type: string(255) + password: + type: string(255) + relations: + Contact: + foreignType: one + onDelete: CASCADE +Contact: + columns: + id: + type: integer(4) + primary: true + autoincrement: true + name: + type: string(255) + + ++ Connection Binding -Doctrine::connection('mysql://jwage:pass@localhost/connection1', 'connection1'); +Doctrine::connection('mysql://user:pass@localhost/connection1', 'connection1');