Add logs table to db.