简体   繁体   English

打字稿和打字机问题

[英]Typescript, and typeorm problems

QueryFailedError: SQLITE_ERROR: near "Jan": syntax error. This makes no sense to me at all i have done anything like i have before but this time its seems like its saying it being to slow or something.这对我来说完全没有意义,我已经做了我以前做过的任何事情,但这次它似乎在说它是放慢速度之类的。

It looks like its throwing an error because of the default on your time column.由于time列的默认设置,它看起来像是抛出错误。

I'd suggest taking a look at that.我建议看看那个。 Changing the default to date('now') (as you've tagged sqlite) should do the trick, depending on your use case根据您的用例,将默认值更改为date('now') (因为您已经标记了 sqlite)应该可以解决问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM