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

中文文档里的sql建表语句执行报错 时间字段需要设置默认值 #70

Open
mloine opened this issue Mar 1, 2022 · 1 comment

Comments

@mloine
Copy link

mloine commented Mar 1, 2022

MODIFIED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'modified time',
CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time',

@LZZpro
Copy link

LZZpro commented Aug 14, 2024

我用mysql8.0就不会出现这个问题。mysql5.7会出现这个问题

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