9d1eee3337
Lets a candidate be marked ignored instead of confirmed/applied; future scans skip re-flagging the same path pair once it's been ignored, since a rescan can flip which side ranks as keep/delete without changing the user's earlier decision that the pair is fine as two copies. Also adds --apply-pairs to find-fuzzy-dupes.py to apply pre-confirmed pairs without a full rescan.
9 lines
446 B
SQL
9 lines
446 B
SQL
-- Adds a "keep both" path for dedup review: a candidate can be marked
|
|
-- ignored instead of confirmed/applied, and future scans skip re-creating
|
|
-- a pending candidate for the same path pair once it's been ignored.
|
|
ALTER TABLE dedup_candidates ADD COLUMN ignored BOOLEAN NOT NULL DEFAULT 0;
|
|
ALTER TABLE dedup_candidates ADD COLUMN ignored_by TEXT;
|
|
ALTER TABLE dedup_candidates ADD COLUMN ignored_at REAL;
|
|
|
|
UPDATE schema_version SET version = 2;
|