Revert "Use timestamp for MySQL compatiblity"

This reverts commit b1e954dde9715eb9a55d0ead05be492d7a2af86f.
Allow null lastModified