hunk.code_window:     port: 3306
       username: "test"
       password: "test"
       database: "test"
   second-connection: # other connection
       host: "localhost"
       port: 3306
       username: "test"
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.file_path: docs/using-ormconfig.md
hunk.type: replace
file: import {Entity} from "../../../../src/decorator/entity/Entity";
  import {Index} from "../../../../src/decorator/Index";
  import {PrimaryGeneratedColumn} from "../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Column} from "../../../../src/decorator/columns/Column";
  import {ManyToMany} from "../../../../src/decorator/relations/ManyToMany";
  import {JoinTable} from "../../../../src/decorator/relations/JoinTable";
  import {Platform} from "./Platform";
  
  @Entity("games")
  @Index("game_name_idx", ["name"], { unique: true })
  export class Game {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column({
          length: 80
      })
      name: string;
  
      @Column({
          name: "search_terms",
          length: 80
      })
      searchTerms: string;
  
      @Column({
          name: "reviewed"
      })
      isReviewed: boolean;
  
      @ManyToMany(type => Platform, platform => platform.games, {
          cascade: true
      })
      @JoinTable()
      platforms: Platform[];
  
  }