Skip to content

Commit 9154aad

Browse files
Review
1 parent c176eff commit 9154aad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/firestore/src/local/indexeddb_schema.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import { assert } from '../util/assert';
2323
import { encode, EncodedResourcePath } from './encoded_resource_path';
2424

2525
/**
26-
* Schema version containing the Mutation Queue, the Query and the Remote
27-
* Document Cache.
26+
* Default Schema Version for the Web client (containing the Mutation Queue, the
27+
* Query and the Remote Document Cache).
2828
*/
2929
export const DEFAULT_SCHEMA_VERSION = 1;
3030

@@ -130,7 +130,7 @@ export class DbMutationQueue {
130130
* After sending this token, earlier tokens may not be used anymore so
131131
* only a single stream token is retained.
132132
*/
133-
public lastStreamToken: string,
133+
public lastStreamToken: string
134134
) {}
135135
}
136136

@@ -565,14 +565,14 @@ function createClientMetadataStore(db: IDBDatabase): void {
565565

566566
// Exported for testing.
567567
export const V1_STORES = [
568-
DbDocumentMutation.store,
569568
DbMutationQueue.store,
570569
DbMutationBatch.store,
571-
DbOwner.store,
570+
DbDocumentMutation.store,
572571
DbRemoteDocument.store,
573-
DbTargetDocument.store,
572+
DbTarget.store,
573+
DbOwner.store,
574574
DbTargetGlobal.store,
575-
DbTarget.store
575+
DbTargetDocument.store
576576
];
577577

578578
const V2_STORES = [DbClientMetadata.store, DbTargetChange.store];

0 commit comments

Comments
 (0)