Use the 'week_info' table to manage the scheduling / picks page creation, game updates, etc... #404

Closed
opened 2026-08-21 13:57:50 +02:00 by johnsturgeon · 0 comments
Owner

I'm envisioning that the week_info has a record

season season_type week_no active_week game_state last_updated
2026 pre 2 False all_final 2026-08-21 1:56 pm
2026 pre 3 True pregame 2026-08-21 1:56 pm

game_state = [pregame | in_process | all_final] that would dicate what jobs should be running, and I would just reduce the scheduling logic

I'm envisioning that the week_info has a record | season | season_type | week_no | active_week | game_state | last_updated |---------|---------|---------|---------|---------|---------| | 2026 | pre | 2 | False | all_final | 2026-08-21 1:56 pm | | 2026 | pre | 3 | True | pregame | 2026-08-21 1:56 pm | game_state = [pregame | in_process | all_final] that would dicate what jobs should be running, and I would just reduce the scheduling logic
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
johnsturgeon/tgfp-web#404
No description provided.