code: private function loadTableColumnsInfo($tableName)
      {
          $tableColumns = $this->db->createCommand('PRAGMA TABLE_INFO (' . $this->quoteValue($tableName) . ')')->queryAll();
          $tableColumns = $this->normalizePdoRowKeyCase($tableColumns, true);
  
          return ArrayHelper::index($tableColumns, 'cid');
      }
docs: Returns table columns info.
  @param string $tableName table name
  @return array