diff --git a/src/vs/workbench/browser/web.main.ts b/src/vs/workbench/browser/web.main.ts index a7772c273ed..294e19b7735 100644 --- a/src/vs/workbench/browser/web.main.ts +++ b/src/vs/workbench/browser/web.main.ts @@ -459,11 +459,15 @@ export class BrowserMain extends Disposable { // IndexedDB is used for logging and user data let indexedDB: IndexedDB | undefined; - const userDataStore = 'vscode-userdata-store'; - const logsStore = 'vscode-logs-store'; - const handlesStore = 'vscode-filehandles-store'; + // --- Start Positron --- + const userDataStore = 'positron-userdata-store'; + const logsStore = 'positron-logs-store'; + const handlesStore = 'positron-filehandles-store'; + // --- End Positron --- try { - indexedDB = await IndexedDB.create('vscode-web-db', 3, [userDataStore, logsStore, handlesStore]); + // --- Start Positron --- + indexedDB = await IndexedDB.create('positron-web-db', 3, [userDataStore, logsStore, handlesStore]); + // --- End Positron --- // Close onWillShutdown this.onWillShutdownDisposables.add(toDisposable(() => indexedDB?.close())); diff --git a/src/vs/workbench/services/storage/browser/storageService.ts b/src/vs/workbench/services/storage/browser/storageService.ts index 4d2d0815bb8..3207ad85d7c 100644 --- a/src/vs/workbench/services/storage/browser/storageService.ts +++ b/src/vs/workbench/services/storage/browser/storageService.ts @@ -339,7 +339,9 @@ export class IndexedDBStorageDatabase extends Disposable implements IIndexedDBSt } } - private static readonly STORAGE_DATABASE_PREFIX = 'vscode-web-state-db-'; + // --- Start Positron --- + private static readonly STORAGE_DATABASE_PREFIX = 'positron-web-state-db-'; + // --- End Positron --- private static readonly STORAGE_OBJECT_STORE = 'ItemTable'; private readonly _onDidChangeItemsExternal = this._register(new Emitter());