fix references to postgres datatypes

This commit is contained in:
Sven Klemm
2018-10-19 14:52:25 +02:00
parent 215ca50cc1
commit aae21a631e
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ export default class MysqlQuery {
}
hasUnixEpochTimecolumn() {
return ['int4', 'int8', 'float4', 'float8', 'numeric'].indexOf(this.target.timeColumnType) > -1;
return ['int', 'bigint', 'double'].indexOf(this.target.timeColumnType) > -1;
}
buildTimeColumn(alias = true) {