hunk.code_window:                     return this.createDatabaseConnectionWithImport();
                   }
               } 
               else {
                   // browser
                   // fileNameOrLocalStorageOrData should be a local storage key
                   const localStorageContent = PlatformTools.getGlobalVariable().localStorage.getItem(fileNameOrLocalStorageOrData);
                   if (localStorageContent != null) {
                       // localStorage value exists.
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep
hunk.after_edit:                 // fileNameOrLocalStorageOrData should be a local storage / indexedDB key
                   let localStorageContent = null;
                   if (this.options.useLocalforage) {
                       if (window.localforage) {
                           localStorageContent = await window.localforage.getItem(fileNameOrLocalStorageOrData);
                       } else {
                           throw new Error(`localforage is not defined - please import localforage.js into your site`);
                       }
                   } else {
                       localStorageContent = PlatformTools.getGlobalVariable().localStorage.getItem(fileNameOrLocalStorageOrData);
                   }
  
hunk.file_path: src/driver/sqljs/SqljsDriver.ts
hunk.type: replace
file: import {TableColumnOptions} from "./TableColumnOptions";
  import {TableIndexOptions} from "./TableIndexOptions";
  import {TableForeignKeyOptions} from "./TableForeignKeyOptions";
  import {TableUniqueOptions} from "./TableUniqueOptions";
  import {TableCheckOptions} from "./TableCheckOptions";
  import {TableExclusionOptions} from "./TableExclusionOptions";
  
  /**
   * Table options.
   */
  export interface TableOptions {
  
      // -------------------------------------------------------------------------
      // Public Properties
      // -------------------------------------------------------------------------
  
      /**
       * Table name.
       */
      name: string;
  
      /**
       * Table columns.
       */
      columns?: TableColumnOptions[];
  
      /**
       * Table indices.
       */
      indices?: TableIndexOptions[];
  
      /**
       * Table foreign keys.
       */
      foreignKeys?: TableForeignKeyOptions[];
  
      /**
       * Table unique constraints.
       */
      uniques?: TableUniqueOptions[];
  
      /**
       * Table check constraints.
       */
      checks?: TableCheckOptions[];
  
      /**
       * Table check constraints.
       */
      exclusions?: TableExclusionOptions[];
  
      /**
       * Indicates if table was just created.
       * This is needed, for example to check if we need to skip primary keys creation
       * for new tables.
       */
      justCreated?: boolean;
  
      /**
       * Table engine.
       */
      engine?: string;
  
  }
  