Change Purchase.date field's type from Date to DateTime