Fix table definitions for PostgreSQL
authorChuck Hagenbuch <chuck@horde.org>
Thu, 7 Jan 2010 19:12:02 +0000 (14:12 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 7 Jan 2010 19:12:25 +0000 (14:12 -0500)
framework/Db/test/Horde/Db/Adapter/Pdo/PgsqlTest.php

index 233aa22..8b3e204 100644 (file)
@@ -1129,10 +1129,10 @@ class Horde_Db_Adapter_Pdo_PgsqlTest extends PHPUnit_Framework_TestCase
           $table->column('first_name',  'string',   array('limit' => 40, 'default' => ''));
           $table->column('approved',    'boolean',  array('default' => true));
           $table->column('type',        'string',   array('limit' => 255, 'default' => ''));
-          $table->column('created_at',  'datetime', array('default' => '0000-00-00 00:00:00'));
-          $table->column('created_on',  'date',     array('default' => '0000-00-00'));
-          $table->column('updated_at',  'datetime', array('default' => '0000-00-00 00:00:00'));
-          $table->column('updated_on',  'date',     array('default' => '0000-00-00'));
+          $table->column('created_at',  'datetime', array());
+          $table->column('created_on',  'date',     array());
+          $table->column('updated_at',  'datetime', array());
+          $table->column('updated_on',  'date',     array());
         $table->end();
     }