feat: add sidecar + processing migrations and postgres adapters
007_sidecar, 008_processing, 009_duplicate_groups migrations. Tag, sidecar, job, batch, plugin, pipeline, duplicate repos.
This commit is contained in:
8
crates/adapters/postgres/migrations/007_sidecar.sql
Normal file
8
crates/adapters/postgres/migrations/007_sidecar.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE sidecar_records (
|
||||
asset_id UUID PRIMARY KEY REFERENCES assets(asset_id),
|
||||
sync_status TEXT NOT NULL DEFAULT 'pending_write',
|
||||
sidecar_storage_path TEXT NOT NULL,
|
||||
last_synced_at TIMESTAMPTZ,
|
||||
last_known_file_hash TEXT,
|
||||
error_message TEXT
|
||||
);
|
||||
Reference in New Issue
Block a user