From ff91185db71e95fc8a301136ba8a2a97c6a292cf Mon Sep 17 00:00:00 2001 From: gnat Date: Tue, 4 Mar 2008 20:03:46 +0000 Subject: [PATCH] index naming typo --- manual/docs/en/relations.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/docs/en/relations.txt b/manual/docs/en/relations.txt index 6f1079cf4..3503fe5a7 100644 --- a/manual/docs/en/relations.txt +++ b/manual/docs/en/relations.txt @@ -668,7 +668,7 @@ class User extends Doctrine_Record } public function setUp() { - $this->index('id', array('fields' => 'id')); + $this->index('id_idx', array('fields' => 'id')); $this->hasMany('Phonenumber', array('local' => 'id', 'foreign' => 'user_id')); @@ -683,7 +683,7 @@ class Phonenumber extends Doctrine_Record } public function setUp() { - $this->index('product_id', array('fields' => 'user_id')); + $this->index('user_id_idx', array('fields' => 'user_id')); $this->hasOne('User', array('local' => 'user_id', 'foreign' => 'id',