aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Media/chapters.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Media/chapters.ts')
-rw-r--r--src/lib/Media/chapters.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Media/chapters.ts b/src/lib/Media/chapters.ts
index d580e6fa..a8a4d716 100644
--- a/src/lib/Media/chapters.ts
+++ b/src/lib/Media/chapters.ts
@@ -3,6 +3,7 @@ import Dexie, { type Table } from 'dexie';
export interface Chapter {
id: number;
chapters: number | null;
+ volumes: number | null;
}
export class ChapterDatabase extends Dexie {
@@ -11,7 +12,7 @@ export class ChapterDatabase extends Dexie {
constructor() {
super('chapterDatabase');
this.version(1).stores({
- chapters: 'id, chapters'
+ chapters: 'id, chapters, volumes'
});
this.chapters = this.table('chapters');