Skip to content
Discussion options

You must be logged in to vote

you need to set a default value or make the columns nullable

From mysql docs :

the first TIMESTAMP column has both DEFAULT
CURRENT_TIMESTAMP and ON UPDATE
CURRENT_TIMESTAMP
if neither is specified explicitly. 

column b and c need to have a default value or be nullable

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@amir-khoshbakht
Comment options

@lk77
Comment options

Answer selected by amir-khoshbakht
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #39517 on November 08, 2021 06:58.