Display the file size in the book metadata details section

* Display the file size in the Book Metadata details section

- Implement AppMigration feature
- Populate missing file sizes for books with null file size in 'populateFileSizes' migration

---------

Co-authored-by: adityachandelgit
This commit is contained in:
Aditya Chandel
2025-04-25 13:55:15 -06:00
committed by GitHub
co-authored by adityachandelgit
parent 285bc83a98
commit 2df8e193cc
16 changed files with 176 additions and 20 deletions
@@ -0,0 +1,2 @@
ALTER TABLE book
ADD COLUMN file_size_kb BIGINT;
@@ -0,0 +1,6 @@
CREATE TABLE app_migration
(
migration_key VARCHAR(100) PRIMARY KEY COMMENT 'Unique identifier for the migration',
executed_at TIMESTAMP NOT NULL COMMENT 'When the migration was executed',
description TEXT COMMENT 'Optional description of what the migration did'
) COMMENT = 'Tracks one-time application-level data migrations';