forked from gotson/komga
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change database from H2 to SQLite
This is a major change, but done transparently. At startup, a migration from H2 to SQLite will be triggered: - if the H2 database is a file (not in memory) - if the H2 database has not been migrated yet - if the SQLite database is newly minted All the data will be transferred from H2 to SQLite before the startup of the application (before the API can serve any requests). After the migration, an empty file will be stored next to the H2 database file (same name with ".imported" suffix). The H2 database files will be automatically removed in a later version. A new configuration key is available to customize the file path of the SQLite database: `komga.database.file` The database backup feature has been removed. It might be re-added later on using a different logic. The IDs of entities have been changed from number to string in the API. closes gotson#218
- Loading branch information
Showing
152 changed files
with
1,707 additions
and
1,193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
interface EventBookChanged { | ||
id: number, | ||
seriesId: number | ||
id: string, | ||
seriesId: string | ||
} | ||
|
||
interface EventSeriesChanged { | ||
id: number, | ||
libraryId: number | ||
id: string, | ||
libraryId: string | ||
} | ||
|
||
interface EventCollectionChanged { | ||
id: number | ||
id: string | ||
} | ||
|
||
interface EventCollectionDeleted { | ||
id: number | ||
id: string | ||
} | ||
|
||
interface EventLibraryAdded { | ||
id: number | ||
id: string | ||
} | ||
|
||
interface EventLibraryChanged { | ||
id: number | ||
id: string | ||
} | ||
|
||
interface EventLibraryDeleted { | ||
id: number | ||
id: string | ||
} |
Oops, something went wrong.