hunk.code_window:         newTable.name = dbName ? `${dbName}.${newTableName}` : newTableName;
           // rename table
           upQueries.push(new Query(`RENAME TABLE ${this.escapePath(oldTable.name)} TO ${this.escapePath(newTable.name)}`));
           downQueries.push(new Query(`RENAME TABLE ${this.escapePath(newTable.name)} TO ${this.escapePath(oldTable.name)}`));
           // rename index constraints
           newTable.indices.forEach(index => {
               // build new constraint name
  
hunk.labels: keep keep keep keep replace replace keep keep keep keep
hunk.after_edit:         upQueries.push(new Query(`RENAME TABLE ${this.escapePath(oldTable)} TO ${this.escapePath(newTable)}`));
           downQueries.push(new Query(`RENAME TABLE ${this.escapePath(newTable)} TO ${this.escapePath(oldTable)}`));
  
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 {Counters} from "./Counters";
  import {PrimaryColumn} from "../../../../../src/decorator/columns/PrimaryColumn";
  
  @Entity()
  export class Post {
  
      @PrimaryColumn()
      id: number;
  
      @Column()
      title: string;
  
      @Column(() => Counters)
      counters: Counters;
  
  }