chore: bump version to 2.3.0
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 51s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 51s
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- Add reading_status_match job type: auto-matches library series against the
|
||||
-- configured reading status provider (e.g. AniList) and creates links.
|
||||
ALTER TABLE index_jobs
|
||||
DROP CONSTRAINT IF EXISTS index_jobs_type_check,
|
||||
ADD CONSTRAINT index_jobs_type_check
|
||||
CHECK (type IN ('scan', 'rebuild', 'full_rebuild', 'rescan', 'thumbnail_rebuild', 'thumbnail_regenerate', 'cbr_to_cbz', 'metadata_batch', 'metadata_refresh', 'reading_status_match'));
|
||||
16
infra/migrations/0056_add_reading_status_match_results.sql
Normal file
16
infra/migrations/0056_add_reading_status_match_results.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Table to store per-series results for reading_status_match jobs
|
||||
CREATE TABLE reading_status_match_results (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
job_id UUID NOT NULL REFERENCES index_jobs(id) ON DELETE CASCADE,
|
||||
library_id UUID NOT NULL REFERENCES libraries(id) ON DELETE CASCADE,
|
||||
series_name TEXT NOT NULL,
|
||||
status TEXT NOT NULL, -- 'linked', 'already_linked', 'no_results', 'ambiguous', 'error'
|
||||
anilist_id INTEGER,
|
||||
anilist_title TEXT,
|
||||
anilist_url TEXT,
|
||||
error_message TEXT,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||
);
|
||||
|
||||
CREATE INDEX idx_rsmr_job_id ON reading_status_match_results(job_id);
|
||||
CREATE INDEX idx_rsmr_status ON reading_status_match_results(status);
|
||||
Reference in New Issue
Block a user