archiver wip

This commit is contained in:
Robin Appelman 2025-04-11 20:20:51 +02:00
commit a660675932
13 changed files with 3466 additions and 0 deletions

View file

@ -0,0 +1,19 @@
CREATE TABLE matches
(
id INTEGER NOT NULL,
team_home INTEGER NOT NULL,
team_away INTEGER NOT NULL,
score_home SMALLINT NOT NULL,
score_away SMALLINT NOT NULL,
comment VARCHAR,
comment_author VARCHAR
);
CREATE UNIQUE INDEX matches_id_idx
ON matches USING BTREE (id);
CREATE INDEX matches_home_idx
ON matches USING BTREE (team_home);
CREATE INDEX matches_away_idx
ON matches USING BTREE (team_away);