From e5ff87730e4b6e8bbaaa1da8734f6669a013605b Mon Sep 17 00:00:00 2001 From: filifa Date: Sat, 3 Aug 2024 15:39:24 -0500 Subject: [PATCH] combine schemas --- games.sql | 6 ------ schema.sql | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 games.sql diff --git a/games.sql b/games.sql deleted file mode 100644 index ce702ed..0000000 --- a/games.sql +++ /dev/null @@ -1,6 +0,0 @@ -create table if not exists games ( - gamePk integer, - teamId text, - state text, - unique (teamId, gamePk) on conflict replace -); diff --git a/schema.sql b/schema.sql index 0650dad..5b8d039 100644 --- a/schema.sql +++ b/schema.sql @@ -6,3 +6,10 @@ create table if not exists mlbdata ( create index if not exists nonposted on mlbdata(posted) where posted = 0; + +create table if not exists games ( + gamePk integer, + teamId text, + state text, + unique (teamId, gamePk) on conflict replace +);