Some changes in the DB schema in order to save dates and times properly