Started adding weather code

This commit is contained in:
2025-07-10 21:09:48 +00:00
parent 7f57befaee
commit 5ba8ae59d6
7 changed files with 197 additions and 111 deletions

View File

@@ -138,15 +138,20 @@ CREATE TABLE IF NOT EXISTS team_game (
CREATE TABLE IF NOT EXISTS weather (
game_id INTEGER NOT NULL,
temperature SMALLINT,
wind_speed FLOAT,
air_pressure FLOAT,
temperature FLOAT,
humidity SMALLINT UNSIGNED,
uv_index FLOAT,
air_quality TINYINT UNSIGNED,
percipitation_type CHAR(10),
percipitation_amount FLOAT,
sky_condition CHAR(20),
dew_point FLOAT,
apparent_temperature FLOAT,
air_pressure FLOAT,
wind_speed FLOAT,
precipitation FLOAT,
rain FLOAT,
snowfall FLOAT,
cloud_cover SMALLINT UNSIGNED,
wind_speed FLOAT,
wind_direction SMALLINT UNSIGNED,
wind_gusts SMALLINT UNSIGNED,
sun_rise TIME,
sun_set TIME,
moon_phase TINYINT UNSIGNED,