taozhi1010 / nest-admin Goto Github PK
View Code? Open in Web Editor NEWnest全栈快速开发平台
Home Page: https://nest-admin.dooring.vip/
License: MIT License
nest全栈快速开发平台
Home Page: https://nest-admin.dooring.vip/
License: MIT License
你好,我想请问能支持postgres数据库吗?我简单看了一下实现方式,如果要切换pg的话需要修改实体定义或者添加控制器吗
后台报错 ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
at Object.xForwardedForHeader (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:166:13)
at Object.wrappedValidations. [as xForwardedForHeader] (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:324:22)
at Object.keyGenerator (D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:579:20)
at D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:629:32
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at D:\govi\nest若依\nest-admin\server\node_modules\express-rate-limit\dist\index.cjs:611:5 {
code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
我用sql创建了一个表base_info
,进入代码生成tab,点击导入
,选择我创建的表base_info
,点击确认
时报错:
http://localhost:8888/dev-api/tool/gen/importTable
{
"code": 500,
"msg": "Service Error: QueryFailedError: Unknown column 'status' in 'field list'"
}
请问我是否漏掉了一些操作,比如需要先在server代码中手动创建实体类?
好像没找到相关代码
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.