简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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