windows系统,非docker环境运行,错误日志如下:
{"level":"fatal","error":"sqlite: check foreign_keys pragma: reading schema information Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub","time":"2023-03-03T14:22:01+08:00","caller":"/Users/fanchunke/workspace/chatgpt/chatgpt-wecom/internal/app/app.go:35","message":"ent - database migrate failed"}
windows系统,非docker环境运行,错误日志如下: {"level":"fatal","error":"sqlite: check foreign_keys pragma: reading schema information Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub","time":"2023-03-03T14:22:01+08:00","caller":"/Users/fanchunke/workspace/chatgpt/chatgpt-wecom/internal/app/app.go:35","message":"ent - database migrate failed"}