From 383dcafe64d92b04ffe7a6739559f0928ab206df Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 19 Feb 2015 09:06:15 +0100 Subject: * empty (TBA) venue for the 2015 German GP prevented foreign key constraint creation --- import/01a_integrity_fixes.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/import/01a_integrity_fixes.sql b/import/01a_integrity_fixes.sql index e69de29..e36367a 100644 --- a/import/01a_integrity_fixes.sql +++ b/import/01a_integrity_fixes.sql @@ -0,0 +1,2 @@ +ALTER TABLE races CHANGE circuitId circuitId INT(11) NULL; +UPDATE races SET circuitId = NULL WHERE raceId = 935; -- 2015 German GP, venue TBA -- cgit v1.2.3