hunk.code_window:         try {
               const timestamp = new Date().getTime();
               const fileContent = MigrationCreateCommand.getTemplate(args.name as any, timestamp);
               const filename = timestamp + "-" + args.name + ".ts";
               let directory = args.dir as string;
               // if directory is not set then try to open tsconfig and find default path there
               if (!directory) {
                   try {
                       const connectionOptionsReader = new ConnectionOptionsReader({
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:             let directory = args.dir as string | undefined;
  
hunk.file_path: src/commands/MigrationCreateCommand.ts
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 {PrimaryColumn} from "../../../../../src/decorator/columns/PrimaryColumn";
  import {Post} from "./Post";
  
  @Entity()
  export class User {
  
      @PrimaryColumn()
      id: number;
  
      @PrimaryColumn()
      personId: number;
  
      @Column()
      name: string;
  
      @ManyToMany(type => Post, post => post.counters.likedUsers)
      likedPosts: Post[];
  
  }