migrated timestamp to datetime type