Skip to content

Commit

Permalink
Fixed: Migration of DownloadRoomEntity.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Dec 19, 2024
1 parent 3ecb559 commit 9bf5ce9
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ abstract class KiwixRoomDatabase : RoomDatabase() {
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
downloadId INTEGER NOT NULL,
file TEXT,
etaInMilliSeconds INTEGER NOT NULL,
bytesDownloaded INTEGER NOT NULL,
totalSizeOfDownload INTEGER NOT NULL,
status INTEGER NOT NULL,
error INTEGER NOT NULL,
progress INTEGER NOT NULL,
etaInMilliSeconds INTEGER NOT NULL DEFAULT -1,
bytesDownloaded INTEGER NOT NULL DEFAULT -1,
totalSizeOfDownload INTEGER NOT NULL DEFAULT -1,
status TEXT NOT NULL 'NONE',
error TEXT NOT NULL 'NONE',
progress INTEGER NOT NULL DEFAULT -1,
bookId TEXT NOT NULL,
title TEXT NOT NULL,
description TEXT,
Expand Down

0 comments on commit 9bf5ce9

Please sign in to comment.