Fixed issue where database migrations not working with timestamps.