Closed VictorAlagwu closed 6 years ago
@VictorAlagwu, good catch. I wonder if you can use DATETIME
instead of TIMESTAMP
for this field because:
DATETIME
and TIMESTAMP
, TIMESTAMP
has a much smaller range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC while DATETIME
values can be '1000-01-01 00:00:00.000000' to '9999-12-31 23:59:59.999999'.
Notice an issue with the use of
'last_updated' date NOT NULL DEFAULT CURRENT_TIMESTAMP
, which is supposed to be'last_updated' TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP