From fb5a7395e5d189c3f1e4de842909a7a2b9c999ec Mon Sep 17 00:00:00 2001 From: jackbravo Date: Thu, 6 Sep 2007 16:13:18 +0000 Subject: [PATCH] code type is sql --- manual/new/docs/en/getting-started.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/new/docs/en/getting-started.txt b/manual/new/docs/en/getting-started.txt index ecc6903e9..dcf76ef3e 100644 --- a/manual/new/docs/en/getting-started.txt +++ b/manual/new/docs/en/getting-started.txt @@ -71,7 +71,7 @@ Doctrine::exportSchema('models'); This would execute the following queries on mysql. - + CREATE TABLE user (id BIGINT AUTO_INCREMENT, name VARCHAR(20), PRIMARY KEY(id), INDEX(id)); CREATE TABLE phonenumber (id INT AUTO_INCREMENT, phonenumber VARCHAR(20), user_id BIGINT, PRIMARY KEY(id), INDEX(user_id)); ALTER TABLE phonenumber ADD CONSTRAINT FOREIGN KEY (user_id) REFERENCES user(id) ON DELETE CASCADE;