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

schema.sql 有问题 #20

Open
zhibolau opened this issue Jan 27, 2017 · 1 comment
Open

schema.sql 有问题 #20

zhibolau opened this issue Jan 27, 2017 · 1 comment

Comments

@zhibolau
Copy link

run时候 会出现 field image does not have a default value

因为老师insert user时候 忘记加上 image field 和它的值

加上以后就好了

谢谢 大家过年好

screen shot 2017-01-27 at 10 22 12 am

@li2008kui
Copy link

我直接把 `image` varchar(500) not null,改为 `image` varchar(500) null,了,一般图片设计为非必须的,采用一张默认图片就好了。

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