docs: def _CreateDatabase(self):
      """ Create all database tables. """
      goodlogging.Log.Info("DB", "Initialising new database", verbosity=self.logVerbosity)
  
      with sqlite3.connect(self._dbPath) as db:
        # Configuration tables
        db.execute("CREATE TABLE Config ("
                    "Name TEXT UNIQUE NOT NULL, "
                    "Value TEXT)")
  
        db.execute("CREATE TABLE IgnoredDir ("
                    "DirName TEXT UNIQUE NOT NULL)")
  
        db.execute("CREATE TABLE SupportedFormat ("
                    "FileFormat TEXT UNIQUE NOT NULL)")
  
        # Look-up tables
        db.execute("CREATE TABLE TVLibrary ("
                    "ShowID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "
                    "ShowName TEXT UNIQUE NOT NULL, "
                    "ShowDir TEXT UNIQUE)")
  
        db.execute("CREATE TABLE FileName ("
                    "FileName TEXT UNIQUE NOT NULL, "
                    "ShowID INTEGER, "
                    "FOREIGN KEY (ShowID) REFERENCES ShowName(ShowID))")
  
        db.execute("CREATE TABLE SeasonDir ("
                    "ShowID INTEGER, "
                    "Season INTEGER NOT NULL, "
                    "SeasonDir TEXT NOT NULL, "
                    "FOREIGN KEY (ShowID) REFERENCES ShowName(ShowID),"
                    "CONSTRAINT SeasonDirPK PRIMARY KEY (ShowID,Season))")
  
        db.commit()
  
      goodlogging.Log.Info("DB", "Database initialisation complete", verbosity=self.logVerbosity)