【发布时间】:2020-04-29 15:01:30
【问题描述】:
QueryFailedError: SQLITE_ERROR: near "Jan": syntax error.这对我来说完全没有意义,我以前做过的任何事情,但这次似乎是在说它要慢或什么的。
【问题讨论】:
-
抛出错误的 SQL 是什么?
-
查询失败:CREATE TABLE "infractions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "guild" bigint NOT NULL, "moderator" bigint NOT NULL, "target" bigint NOT NULL, "reason " varchar NOT NULL, "time" date NOT NULL DEFAULT (Sun Jan 12 2020 16:17:20 GMT-0500 (Eastern Standard Time)))
标签: sql typescript sqlite syntax typeorm