Adding win and if the team is home to the database, calculations for win and lose streak, and returning the training data. Fixing sunrise sunset times
This commit is contained in:
@@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS parks (
|
||||
park_id CHAR(5) NOT NULL,
|
||||
park_name VARCHAR,
|
||||
lf_fence_distance SMALLINT UNSIGNED,
|
||||
lf_fence_height, SMALLINT UNSIGNED,
|
||||
lf_fence_height SMALLINT UNSIGNED,
|
||||
ct_fence_distance SMALLINT UNSIGNED,
|
||||
ct_fence_height SMALLINT UNSIGNED,
|
||||
rf_fence_distance SMALLINT UNSIGNED,
|
||||
@@ -59,6 +59,8 @@ CREATE TABLE IF NOT EXISTS team_game (
|
||||
game_num TINYINT UNSIGNED,
|
||||
score TINYINT UNSIGNED,
|
||||
line_score CHAR(9),
|
||||
win BIT,
|
||||
home BIT,
|
||||
|
||||
at_bats TINYINT UNSIGNED,
|
||||
hits TINYINT UNSIGNED,
|
||||
|
||||
Reference in New Issue
Block a user