Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目启动加载问题,一直卡在插入数据库命令哪里 #38

Open
openluck opened this issue Oct 20, 2019 · 1 comment
Open

Comments

@openluck
Copy link

Executing (default): CREATE TABLE IF NOT EXISTS comments (id INTEGER auto_increment , nickname VARCHAR(255), email VARCHAR(255), content TEXT, article_id VARCHAR(255)
, parent_id INTEGER DEFAULT 0, created_at DATETIME, updated_at DATETIME NOT NULL, deleted_at DATETIME, PRIMARY KEY (id)) ENGINE=InnoDB;
Executing (default): SHOW INDEX FROM comments

项目 用npm run dev 这个命令之后,就开始插入数据库 , 但是就一直卡上面这串代码上,

@lfb
Copy link
Owner

lfb commented Oct 23, 2019

Executing (default): CREATE TABLE IF NOT EXISTS comments (id INTEGER auto_increment , nickname VARCHAR(255), email VARCHAR(255), content TEXT, article_id VARCHAR(255)
, parent_id INTEGER DEFAULT 0, created_at DATETIME, updated_at DATETIME NOT NULL, deleted_at DATETIME, PRIMARY KEY (id)) ENGINE=InnoDB;
Executing (default): SHOW INDEX FROM comments

项目 用npm run dev 这个命令之后,就开始插入数据库 , 但是就一直卡上面这串代码上,

抱歉,建议你别直接插入数据库,建议你从0开始从postman测试每个接口,一步步地学习,如果有什么问题请再次留言,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants