hunk.code_window: import {createConnection} from "../../../src/index";
   import rimraf from "rimraf";
   import {dirname} from "path";
   import {Connection} from "../../../src/connection/Connection";
   describe("github issues > #799 sqlite: 'database' path should be created", () => {
       let connection: Connection;
       const path = `${__dirname}/tmp/sqlitedb.db`;
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit: import {getTypeOrmConfig} from "../../utils/test-utils";
  
hunk.file_path: test/github-issues/799/issue-799.ts
hunk.type: add
file: import { Post } from "./Post";
  import { Entity, ManyToMany, Column, PrimaryGeneratedColumn } from "../../../../../src";
  
  @Entity()
  export class Tag {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @ManyToMany(() => Post, (post) => post.tags)
      posts: Post[]
  
  }
  