Files
k-photos/crates/adapters/postgres/migrations/009_duplicate_groups.sql
Gabriel Kaszewski 19be8c2adf feat: add sidecar + processing migrations and postgres adapters
007_sidecar, 008_processing, 009_duplicate_groups migrations.
Tag, sidecar, job, batch, plugin, pipeline, duplicate repos.
2026-05-31 11:04:13 +02:00

7 lines
237 B
SQL

CREATE TABLE duplicate_groups (
group_id UUID PRIMARY KEY,
detection_method TEXT NOT NULL DEFAULT 'exact_hash',
status TEXT NOT NULL DEFAULT 'unresolved',
candidates JSONB NOT NULL DEFAULT '[]'
);