mirror of
https://github.com/Dictionarry-Hub/schema.git
synced 2026-05-03 06:14:17 +02:00
feat: add custom rename control
This commit is contained in:
+3
-2
@@ -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
|
||||
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user