fix(migration): 026 - correct videos foreign key reference

- Change REFERENCES videos(uuid) → videos(file_uuid)
- Expected: unblock 13 cascading migrations (027-039)
- Target: 28+/41 migration success rate
This commit is contained in:
Accusys
2026-10-05 00:22:08 +08:00
parent 4c6915d0e5
commit 508ddb1488
@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS file_identities (
CONSTRAINT fk_file_identities_video
FOREIGN KEY (file_uuid)
REFERENCES videos(uuid)
REFERENCES videos(file_uuid)
ON DELETE CASCADE,
CONSTRAINT fk_file_identities_identity