hunk.code_window:         const tableNamesString = tableNames.map(tableName => `'${tableName}'`).join(", ");
           const tablesSql      = `SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '${this.dbName}' AND TABLE_NAME IN (${tableNamesString})`;
           const columnsSql     = `SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = '${this.dbName}'`;
           const indicesSql     = `SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = '${this.dbName}' AND INDEX_NAME != 'PRIMARY'`;
           const foreignKeysSql = `SELECT * FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE WHERE TABLE_SCHEMA = '${this.dbName}' AND REFERENCED_COLUMN_NAME IS NOT NULL`;
           const [dbTables, dbColumns, dbIndices, dbForeignKeys]: ObjectLiteral[][] = await Promise.all([
               this.query(tablesSql),
               this.query(columnsSql),
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:         const indicesSql     = `SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = '${this.dbName}' AND INDEX_NAME != 'PRIMARY' ORDER BY SEQ_IN_INDEX`;
  
hunk.file_path: src/driver/mysql/MysqlQueryRunner.ts
hunk.type: replace
file: import {Entity} from "../../../../../../../src/decorator/entity/Entity";
  import {Column} from "../../../../../../../src/decorator/columns/Column";
  import {PrimaryGeneratedColumn} from "../../../../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Post} from "./Post";
  import {OneToMany} from "../../../../../../../src/decorator/relations/OneToMany";
  
  @Entity()
  export class Category {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @OneToMany(type => Post, post => post.counters.category)
      posts: Post[];
  
      postIds: number[];
  
  }