restart the database and modify the format of the table