From 871eb94df92a367a8d2f0169d82b5cd2c2cf5829 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 14 Jan 2018 16:54:43 +0100 Subject: [PATCH] changed postgres timestamp without time zone recognition #16 --- src/drivers/PostgresDriver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/PostgresDriver.ts b/src/drivers/PostgresDriver.ts index d205d53..fbac97a 100644 --- a/src/drivers/PostgresDriver.ts +++ b/src/drivers/PostgresDriver.ts @@ -117,7 +117,7 @@ export class PostgresDriver extends AbstractDriver { break; case "timestamp without time zone": colInfo.ts_type = "Date" - colInfo.sql_type = "datetime" + colInfo.sql_type = "timestamp" break; case "timestamp with time zone": colInfo.ts_type = "Date"