feat: add custom rename control

This commit is contained in:
Sam Chau
2025-12-31 03:20:25 +10:30
parent bd0bdcca6c
commit b3b29d3fe9
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -42,9 +42,10 @@ All schema changes will be documented in this file.
- CHECK constraints for protocol/delay validation
## 31-12-25
- Add custom format testing table
- custom_format_tests: stores test cases for validating custom format matching
- Each test specifies a release title and whether it should match the format
- Supports movie/series type differentiation for parser context
- Unique constraint on (custom_format_id, title, type) prevents duplicate tests
- Unique constraint on (custom_format_id, title, type) prevents duplicate tests
- Add include_in_rename column to custom_formats table
- Controls whether custom format name appears in renamed filenames
+1
View File
@@ -57,6 +57,7 @@ CREATE TABLE custom_formats (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name VARCHAR(100) UNIQUE NOT NULL,
description TEXT,
include_in_rename INTEGER NOT NULL DEFAULT 0,
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP
);