Closed dunkelbraun closed 5 months ago
When creating a timetz(p) column with the schema builder:
timetz(p)
await db.schema .createTable("test") .addColumn("t", "timetz(4)") .execute();
parseDataTypeExpressionthrows an Error:
parseDataTypeExpression
Error: invalid column data type "timetz(4)" ❯ Module.parseDataTypeExpression node_modules/kysely/dist/esm/parser/data-type-parser.js:14:11
.addColumn("t", sql`timetz(4)`)
Oh, that's actually a supported type. Needs fixing.
I forgot to mention that it was for the PostgreSQL dialect.
When creating a
timetz(p)
column with the schema builder:parseDataTypeExpression
throws an Error: