summaryrefslogtreecommitdiff
path: root/import
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-02-19 09:06:15 +0100
committeremkael <emkael@tlen.pl>2015-02-19 09:06:15 +0100
commit383dcafe64d92b04ffe7a6739559f0928ab206df (patch)
tree1797fe7c8465d364ce0ba6e35f071861824f5e38 /import
parent5babd746331a2bde0f4d25c0916090d4ac597072 (diff)
* empty (TBA) venue for the 2015 German GP prevented foreign key constraint creation
Diffstat (limited to 'import')
-rw-r--r--import/01a_integrity_fixes.sql2
1 files changed, 2 insertions, 0 deletions
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