9 lines
200 B
SQL
9 lines
200 B
SQL
create table if not exists mlbdata (
|
|
"json" text unique on conflict ignore,
|
|
"posted" integer check ("posted" in (0, 1))
|
|
);
|
|
|
|
create index if not exists nonposted
|
|
on mlbdata(posted)
|
|
where posted = 0;
|