中文文档里的sql建表语句执行报错 时间字段需要设置默认值
Open
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
MODIFIED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'modified time',
CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time',
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the Chinese documentation containing the shown CREATE TABLE definition and inspect how the MODIFIED and CREATED timestamp fields are written. Update the documented SQL so it executes successfully with the required time-field defaults, then verify the statement against the documented database setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100