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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user