Error:Using a TIMESTAMP data type with a fractional precision of 6 is not supported on mariadb: A timestamp datatype with 6 fractional digits was requested, but MySQL only supports 0 digits.
因为MySQL版本不支持Timestamp(n)的写法,需更新MySQL版本。
在MySQL 5.6.4 及之后版本,支持。
MariaDB 10.2.18,支持,往前最早支持到哪个版本不确定。