test out one db
This commit is contained in:
parent
587a9bf90a
commit
4655a83891
15
schema.sql
15
schema.sql
|
@ -1,10 +1,19 @@
|
||||||
create table if not exists mlbdata (
|
create table if not exists plays (
|
||||||
"json" text unique on conflict ignore,
|
"json" text unique on conflict ignore,
|
||||||
"posted" integer check ("posted" in (0, 1))
|
"posted" integer check ("posted" in (0, 1))
|
||||||
);
|
);
|
||||||
|
|
||||||
create index if not exists nonposted
|
create index if not exists nonposted_plays
|
||||||
on mlbdata(posted)
|
on plays(posted)
|
||||||
|
where posted = 0;
|
||||||
|
|
||||||
|
create table if not exists highlights (
|
||||||
|
"json" text unique on conflict ignore,
|
||||||
|
"posted" integer check ("posted" in (0, 1))
|
||||||
|
);
|
||||||
|
|
||||||
|
create index if not exists nonposted_highlights
|
||||||
|
on highlights(posted)
|
||||||
where posted = 0;
|
where posted = 0;
|
||||||
|
|
||||||
create table if not exists games (
|
create table if not exists games (
|
||||||
|
|
Loading…
Reference in New Issue