Permalink
Browse files

Merge pull request #365 from cebe/fix-postgresql-datetime

Fixed datetime column type for postgresql
  • Loading branch information...
2 parents 2100f0d + f3b41a9 commit 7d98d9d129618042db5e1c071af820ea0e6ce4a4 @qiangxue qiangxue committed Feb 17, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +1 −1 framework/db/schema/pgsql/CPgsqlSchema.php
View
@@ -6,6 +6,7 @@ Version 1.1.11 work in progress
-------------------------------
- Enh #171: Added support for PUT and DELETE request tunneled through POST via parameter named _method in POST body (musterknabe)
- Enh #266: Add support for HTML5 url, email, number, range and date fields to CHtml (gregmolnar)
+- Bug #193: Changed datetime column type for postgresql from 'time' to 'timestamp' (cebe)
- Enh: Added getIsFlashRequest(), proper handling of Flash/Flex request when using CWebLogRoute with FireBug. (resurtm)
Version 1.1.10 February 12, 2012
@@ -31,7 +31,7 @@ class CPgsqlSchema extends CDbSchema
'integer' => 'integer',
'float' => 'double precision',
'decimal' => 'numeric',
- 'datetime' => 'time',
+ 'datetime' => 'timestamp',
'timestamp' => 'timestamp',
'time' => 'time',
'date' => 'date',

0 comments on commit 7d98d9d

Please sign in to comment.