Add DateTime support to database binding layer.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-04-10 15:03:42 -05:00
parent 7d5b6b3748
commit 94b8582865
7 changed files with 32 additions and 15 deletions

View File

@@ -368,7 +368,7 @@ class Postgres extends Grammar {
*/
protected function type_date(Fluent $column)
{
return 'TIMESTAMP';
return 'TIMESTAMP(0) WITHOUT TIME ZONE';
}
/**