Fixed and tested the database.