hunk.code_window:         }
       });
       it("should create the whole path to database file", async function () {
           connection = await createConnection({
               "name": "sqlite",
               "type": "sqlite",
               "database": path
           });
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:         // run test only if better-sqlite3 is enabled in ormconfig
           const isEnabled = getTypeOrmConfig().some(conf => conf.type === "sqlite" && conf.skip === false);
           if (isEnabled === false) return;
  
hunk.file_path: test/github-issues/799/issue-799.ts
hunk.type: add
file: import {Entity} from "../../../../src/decorator/entity/Entity";
  import {Column} from "../../../../src/decorator/columns/Column";
  import {PrimaryGeneratedColumn} from "../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Faculty} from "./Faculty";
  import {ManyToOne} from "../../../../src/decorator/relations/ManyToOne";
  import {Teacher} from "./Teacher";
  import {Index} from "../../../../src/decorator/Index";
  
  @Entity()
  @Index("student_name_index", ["name"])
  export class Student {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @ManyToOne(type => Faculty)
      faculty: Faculty;
  
      @ManyToOne(type => Teacher)
      teacher: Teacher;
  
  }