explicitly disable foreign key constraint checking

This commit is contained in:
Nick Griffey 2024-01-31 22:43:23 -06:00
parent b8963f526c
commit e6cdb8509f
38 changed files with 76 additions and 0 deletions

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "allstargames" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "allstars" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "awards" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
CREATE TABLE IF NOT EXISTS "fieldingof" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "halloffamereqs" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "seasons" (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists teams (

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';

View File

@ -1,3 +1,5 @@
pragma foreign_keys = 0;
begin;
attach database 'baseball-raw.db' as 'raw';
create temp table if not exists "yearlyawards" (