-
-
Notifications
You must be signed in to change notification settings - Fork 164
项目初始化时生成演示数据报错 #821
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
部署方式 | How to Deploy
源码部署 | Source
部署版本 | Version
nightly (Default)
反代服务 | Reverse Proxy
none
已阅读文档 | Read the document
描述 | Description
代码层面初始化会依次执行
db:create,db:migrate和db:seed分别用于生成数据库,创建历史表结构和生成默认管理员账号和演示数据,这个分批的步骤被封装在zealot:upgrade里面,上面命令分开之前没问题,只要一起执行最后一个就会报错原因未知,目前只能考虑使用db:setup利用问题日志 | Relevant log output
第一次部署项目时会有报错但不影响项目正常使用: