hunk.code_window: const connection = await createConnection();
   ```
   Supported ormconfig file formats are: `.json`, `.js`, `.env`, `.yml` and `.xml`.
   ## Using `ormconfig.json`
   Create `ormconfig.json` in the project root (near `package.json`). It should have the following content:
   ```json
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.file_path: docs/using-ormconfig.md
hunk.type: replace
file: import {Column} from "../../../../../../../src/decorator/columns/Column";
  import {PrimaryColumn} from "../../../../../../../src/decorator/columns/PrimaryColumn";
  import {User} from "./User";
  import {ManyToOne} from "../../../../../../../src/decorator/relations/ManyToOne";
  
  export class Subcounters {
  
      @PrimaryColumn()
      version: number;
  
      @Column()
      watches: number;
  
      @ManyToOne(type => User)
      watchedUser: User;
  
      watchedUserId: number;
  
  }