Fixed database and added the sql file