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',