feat: add database support for multiple user ebook folders

- Add ebook_folder_path column to users table (migration 004)
- Create user_ebook_folders table for multiple folders per user (migration 005)
- Remove old ebook_folder_path column from users table (migration 006)
- Add unique constraint to prevent duplicate folder paths per user
This commit is contained in:
2026-01-23 09:02:35 -05:00
parent 3d325c71a2
commit b5ec84c901
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,2 @@
-- Drop the old ebook_folder_path column from users table
ALTER TABLE users DROP COLUMN IF EXISTS ebook_folder_path;