`effective_end_utc` timestamp NOT NULL COMMENT 'The UTC timestamp for when the target ceases to be in effect.',
这最终会给我
ERROR 1067 (42000) at line 27: Invalid default value for 'effective_end_utc'
基于其他响应,我什至在模式开头将模式设置为以下
SET GLOBAL SQL_MODE='ALLOW_INVALID_DATES'
知道出了什么问题吗?
最佳答案
应该使用默认值更改架构,例如
`reported_timestamp_utc` timestamp NULL DEFAULT NULL COMMENT
关于mysql - 在 MySQL 5.7 中创建具有 NULL 时间戳列的表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40491518/