drawdb
drawdb copied to clipboard
[BUG] PostgreSQL, Import from SQL TIMESTAMPTZ parsing fail
Issue using "import form SQL" feature with PostgreSQL : TIMESTAMPTZ
How to reproduce
CREATE TABLE DEMO (
test TIMESTAMPTZ NOT NULL
);
Fail
But if the datatype is VARCHAR:
CREATE TABLE DEMO (
test VARCHAR NOT NULL
);
OK
Yes, it was fixed in this PR https://github.com/taozhi8833998/node-sql-parser/pull/2063. It will be supported once v5.4.0 comes out