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:
co-authored by
adityachandelgit
parent
285bc83a98
commit
2df8e193cc
+2
@@ -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';
|
||||
Reference in New Issue
Block a user