def verifyTables(self):
        missingTables = XBRLDBTABLES - self.tablesInDB()
        # if no tables, initialize database
        if missingTables == XBRLDBTABLES:
            self.create("xbrlPublicPostgresDB.ddl")
            
            # load fixed tables
            self.getTable('enumeration_arcrole_cycles_allowed', 'enumeration_arcrole_cycles_allowed_id', 
                          ('description',), ('description',),
                          (('any',), ('undirected',), ('none',)))
            self.getTable('enumeration_element_balance', 'enumeration_element_balance_id', 
                          ('description',), ('description',),
                          (('credit',), ('debit',)))
            self.getTable('enumeration_element_period_type', 'enumeration_element_period_type_id', 
                          ('description',), ('description',),
                          (('instant',), ('duration',), ('forever',)))
            missingTables = self.tablesInDB() - XBRLDBTABLES
        if missingTables:
            raise XPDBException("xpgDB:MissingTables",
                                _("The following tables are missing, suggest reinitializing database schema: %(missingTableNames)s"),
                                missingTableNames=', '.join(t for t in sorted(missingTables)))
dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/xbrlDB/XbrlPublicPostgresDB.py/XbrlPostgresDatabaseConnection.verifyTables/swapped operands of `-`