hunk.code_window:         await connection.open();
           // we need to enable foreign keys in sqlite to make sure all foreign key related features
           // working properly. this also makes onDelete to work with sqlite.
           await connection.query(`PRAGMA foreign_keys = ON`, []);
           if (
               this.options.journalMode &&
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:         await connection.query(`PRAGMA foreign_keys = ON`);
  
hunk.file_path: src/driver/capacitor/CapacitorDriver.ts
hunk.type: replace
file: import { Entity } from "../../../../../../src/decorator/entity/Entity";
  import { Column } from "../../../../../../src/decorator/columns/Column";
  import { ObjectIdColumn } from "../../../../../../src/decorator/columns/ObjectIdColumn";
  import { ObjectID } from "../../../../../../src/driver/mongodb/typings";
  
  @Entity()
  export class Post {
  
      @ObjectIdColumn()
      nonIdNameOfObjectId: ObjectID;
  
      @Column()
      title: string;
  }
  