changed postgres timestamp without time zone recognition #16

This commit is contained in:
Kononnable 2018-01-14 16:54:43 +01:00
parent 1e3b7455b3
commit 871eb94df9

View File

@ -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"