type analysers for mysql, postgre

This commit is contained in:
Jan Prochazka
2020-06-26 15:28:44 +02:00
parent 5e0563c42c
commit bf24796899
7 changed files with 81 additions and 23 deletions

View File

@@ -23,5 +23,5 @@ export function isTypeLogical(dataType) {
}
export function isTypeDateTime(dataType) {
return dataType && /date|time/i.test(dataType);
return dataType && /date|time|timestamp/i.test(dataType);
}