feat: add scheduled metadata refresh for libraries
Add metadata_refresh_mode (manual/hourly/daily/weekly) to libraries, with automatic scheduling via the indexer. Includes API support, backoffice UI controls, i18n translations, and DB migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
infra/migrations/0045_add_metadata_refresh_schedule.sql
Normal file
4
infra/migrations/0045_add_metadata_refresh_schedule.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE libraries
|
||||
ADD COLUMN metadata_refresh_mode TEXT NOT NULL DEFAULT 'manual',
|
||||
ADD COLUMN last_metadata_refresh_at TIMESTAMPTZ,
|
||||
ADD COLUMN next_metadata_refresh_at TIMESTAMPTZ;
|
||||
Reference in New Issue
Block a user