Skip to content

Commit 8045367

Browse files
Update indexeddb_schema.ts
1 parent 5ca5cbc commit 8045367

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/local/indexeddb_schema.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import {
3535
// TODO(indexing): Remove this constant
3636
const INDEXING_ENABLED = false;
3737

38+
export const INDEXING_SCHEMA_VERSION = 12;
39+
3840
/**
3941
* Schema Version for the Web client:
4042
* 1. Initial version including Mutation Queue, Query Cache, and Remote
@@ -55,9 +57,7 @@ const INDEXING_ENABLED = false;
5557
* 11. Add bundles and named_queries for bundle support.
5658
* 12. Add indexing support.
5759
*/
58-
export const SCHEMA_VERSION = INDEXING_ENABLED ? 12 : 11;
59-
60-
export const INDEXING_SCHEMA_VERSION = 12;
60+
export const SCHEMA_VERSION = INDEXING_ENABLED ? INDEXING_SCHEMA_VERSION : 11;
6161

6262
/**
6363
* Wrapper class to store timestamps (seconds and nanos) in IndexedDb objects.

0 commit comments

Comments
 (0)