explicitly disable foreign key constraint checking
This commit is contained in:
parent
b8963f526c
commit
e6cdb8509f
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "allstargames" (
|
create temp table if not exists "allstargames" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "allstars" (
|
create temp table if not exists "allstars" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "awards" (
|
create temp table if not exists "awards" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
CREATE TABLE IF NOT EXISTS "fieldingof" (
|
CREATE TABLE IF NOT EXISTS "fieldingof" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "halloffamereqs" (
|
create temp table if not exists "halloffamereqs" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "seasons" (
|
create temp table if not exists "seasons" (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists teams (
|
create temp table if not exists teams (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
pragma foreign_keys = 0;
|
||||||
|
|
||||||
begin;
|
begin;
|
||||||
attach database 'baseball-raw.db' as 'raw';
|
attach database 'baseball-raw.db' as 'raw';
|
||||||
create temp table if not exists "yearlyawards" (
|
create temp table if not exists "yearlyawards" (
|
||||||
|
|
Loading…
Reference in New Issue