Skip to content

Commit

Permalink
bump indexdb version
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas committed Jan 14, 2025
1 parent e26213a commit 04ff4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useYDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const db = new Dexie('YjsDatabase') as Dexie & {
yDocs: EntityTable<{ id: string; data: Uint8Array; clock: number }, 'id'>
}

db.version(1).stores({
db.version(2).stores({
yDocs: 'id, data, clock',
})

Expand Down

0 comments on commit 04ff4c1

Please sign in to comment.