original_string: public function createTables()
      {
          $db = $this->getDb();
          $prefixTables = $this->getTablePrefix();
  
          $tablesAlreadyInstalled = $this->getTablesInstalled();
          $tablesToCreate = $this->getTablesCreateSql();
          unset($tablesToCreate['archive_blob']);
          unset($tablesToCreate['archive_numeric']);
  
          foreach ($tablesToCreate as $tableName => $tableSql) {
              $tableName = $prefixTables . $tableName;
              if (!in_array($tableName, $tablesAlreadyInstalled)) {
                  $db->query($tableSql);
              }
          }
      }
code: public function createTables()
      {
          $db = $this->getDb();
          $prefixTables = $this->getTablePrefix();
  
          $tablesAlreadyInstalled = $this->getTablesInstalled();
          $tablesToCreate = $this->getTablesCreateSql();
          unset($tablesToCreate['archive_blob']);
          unset($tablesToCreate['archive_numeric']);
  
          foreach ($tablesToCreate as $tableName => $tableSql) {
              $tableName = $prefixTables . $tableName;
              if (!in_array($tableName, $tablesAlreadyInstalled)) {
                  $db->query($tableSql);
              }
          }
      }
code_tokens: public function createTables ( ) { $ db = $ this -> getDb ( ) ; $ prefixTables = $ this -> getTablePrefix ( ) ; $ tablesAlreadyInstalled = $ this -> getTablesInstalled ( ) ; $ tablesToCreate = $ this -> getTablesCreateSql ( ) ; unset ( $ tablesToCreate [ 'archive_blob' ] ) ; unset ( $ tablesToCreate [ 'archive_numeric' ] ) ; foreach ( $ tablesToCreate as $ tableName => $ tableSql ) { $ tableName = $ prefixTables . $ tableName ; if ( ! in_array ( $ tableName , $ tablesAlreadyInstalled ) ) { $ db -> query ( $ tableSql ) ; } } }
docstring: Create all tables
docstring_tokens: Create all tables