hunk.code_window: You can run following command:
   ```
   typeorm migrations:generate -n PostRefactoring
   ```
   And it will generate a new migration called `{TIMESTAMP}-PostRefactoring.ts` with the following content:
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit: typeorm migration:generate -n PostRefactoring
  
hunk.file_path: docs/migrations.md
hunk.type: replace
file: import {Column} from "../../../../../src/decorator/columns/Column";
  import {Entity} from "../../../../../src/decorator/entity/Entity";
  import {ManyToMany} from "../../../../../src/decorator/relations/ManyToMany";
  import {Index} from "../../../../../src/decorator/Index";
  import {PrimaryColumn} from "../../../../../src/decorator/columns/PrimaryColumn";
  import {Post} from "./Post";
  
  @Entity()
  @Index(["id", "personId"], { unique: true })
  export class User {
  
      @PrimaryColumn()
      id: number;
  
      @PrimaryColumn()
      personId: number;
  
      @Column()
      name: string;
  
      @ManyToMany(type => Post, post => post.counters.likedUsers)
      likedPosts: Post[];
  
  }