Invalid default value for 'lastUpdateTime'

错误:Invalid default value for 'lastUpdateTime'

错误:执行建表语句时,字段lastUpdateTime timestamp  not null  comment报错.

修改:lastUpdateTime     timestamp  not null  default CURRENT_TIMESTAMP  comment

猜你喜欢

转载自blog.csdn.net/it_zhang_PG/article/details/82622472