Added migrations to make sort date an integer field.