Skip to content

Commit

Permalink
Fix incorrect fixture.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 22, 2013
1 parent f69bfd8 commit 70bd043
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Cake/Test/Fixture/PersonFixture.php
Expand Up @@ -45,8 +45,10 @@ class PersonFixture extends TestFixture {
'name' => ['type' => 'string', 'null' => false, 'length' => 32],
'mother_id' => ['type' => 'integer', 'null' => false],
'father_id' => ['type' => 'integer', 'null' => false],
'_indexes' => ['mother_id' => ['unique' => 0, 'columns' => ['mother_id', 'father_id']]],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']], 'PRIMARY' => ['type' => 'unique', 'columns' => 'id']]
'_constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
'mother_idx' => ['type' => 'unique', 'columns' => ['mother_id', 'father_id']]
]
);

/**
Expand Down

0 comments on commit 70bd043

Please sign in to comment.