X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FORM%2FTools%2Fdoctrine1schema%2Fschema.yml;fp=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FORM%2FTools%2Fdoctrine1schema%2Fschema.yml;h=efa24c79169c8370448b1c04c41a0989dff04b70;hb=8b04b2d11798dee4f3e1358e4f43e97a6df851f6;hp=0000000000000000000000000000000000000000;hpb=73568cf05a785a45f94ca3f2351d9e07bf917958;p=zf2.biz%2Fapplication_blanche.git diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Tools/doctrine1schema/schema.yml b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Tools/doctrine1schema/schema.yml new file mode 100644 index 0000000..efa24c7 --- /dev/null +++ b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Tools/doctrine1schema/schema.yml @@ -0,0 +1,28 @@ +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 \ No newline at end of file