Drop milliseconds from dates and times, so that mysql 5.6.4+ works. Still trying to work out why this is needed. Or indeed, if.