Tie BE and UI for epub viewing

This commit is contained in:
aditya.chandel
2025-01-14 14:27:49 -07:00
parent ebea3890af
commit c2c2b8d6b8
13 changed files with 191 additions and 149 deletions
@@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS book
path VARCHAR(1000) NOT NULL,
last_read_time TIMESTAMP NULL,
added_on TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
book_type VARCHAR(6) NOT NULL,
CONSTRAINT fk_library FOREIGN KEY (library_id) REFERENCES library (id) ON DELETE CASCADE,
CONSTRAINT unique_file_library UNIQUE (file_name, library_id),
INDEX idx_library_id (library_id),