Skip to content

Commit

Permalink
Fix incorrect default value.
Browse files Browse the repository at this point in the history
A string/integer type causes failures with Postgres.
  • Loading branch information
markstory committed Jun 23, 2013
1 parent 1174e10 commit 21d0236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Fixture/JoinThingFixture.php
Expand Up @@ -44,7 +44,7 @@ class JoinThingFixture extends TestFixture {
'id' => ['type' => 'integer'],
'something_id' => ['type' => 'integer', 'length' => 10, 'null' => true],
'something_else_id' => ['type' => 'integer', 'default' => null],
'doomed' => ['type' => 'boolean', 'default' => '0'],
'doomed' => ['type' => 'boolean', 'default' => false],
'created' => ['type' => 'datetime', 'null' => true],
'updated' => ['type' => 'datetime', 'null' => true],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
Expand Down

0 comments on commit 21d0236

Please sign in to comment.