home / football

elo_record

0 rows where competition_id = 5

✎ View and edit SQL

This data as json

0 records

CREATE TABLE elo_record (
            elo_id INTEGER NOT NULL,
            team_id INTEGER NOT NULL,
            date DATE NOT NULL,
            rating FLOAT NOT NULL,
            k_factor FLOAT NOT NULL,
            delta FLOAT,
            source_match_id INTEGER,
            is_tournament BOOLEAN NOT NULL,
            competition_id INTEGER,
            created_at DATETIME NOT NULL,
            updated_at DATETIME NOT NULL,
            created_by_run_id INTEGER,
            updated_by_run_id INTEGER,
            source_id INTEGER NOT NULL,
            source_raw_key VARCHAR(512),
            CONSTRAINT pk_elo_record PRIMARY KEY (elo_id),
            CONSTRAINT fk_elo_record_team FOREIGN KEY(team_id) REFERENCES team (team_id),
            CONSTRAINT fk_elo_record_match FOREIGN KEY(source_match_id) REFERENCES match (match_id),
            CONSTRAINT fk_elo_record_source FOREIGN KEY(source_id) REFERENCES data_source (source_id),
            CONSTRAINT fk_elo_record_competition FOREIGN KEY(competition_id) REFERENCES competition (competition_id)
        );
Powered by Datasette · Queries took 1265.959ms