code: def _init_db(self):
          
          with self._get_db() as db:
              with open(self.schemapath) as f:
                  db.cursor().executescript(f.read())
              db.commit()
docs: Creates the database tables.