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 {Column} from "../../../../../../../src/decorator/columns/Column";
  import {Entity} from "../../../../../../../src/decorator/entity/Entity";
  import {PrimaryGeneratedColumn} from "../../../../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {ManyToMany} from "../../../../../../../src/decorator/relations/ManyToMany";
  import {Accountant} from "./Accountant";
  
  @Entity()
  export class Department {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @ManyToMany(type => Accountant, accountant => accountant.departments)
      accountants: Accountant[];
  
  }
  