code: def init_db(db_path):
      
      logger.info("Creating database")
      with closing(connect_database(db_path)) as db:
          with open(SCHEMA, 'r') as f:
              db.cursor().executescript(f.read())
          db.commit()
      return
docs: Build the sqlite database