change to datetime migration