Add rule_date key and value

This commit is contained in:
chris committed 2026-03-07 22:15:01 -05:00
1 parent 69bd039c83
commit c3a1cef704
1 file changed
+2
+2
View File
@@ -24,12 +24,14 @@ def check_table_name(table_name: str) -> dict | None:
'db_table_name': 'powerball_draws',
'inception_year': os.getenv('LP_POWERBALL_INCEPTION'),
'record_type': get_powerball_object,
'rule_date': os.getenv('LP_POWERBALL_RULE_CHANGE_DATE'),
},
'MegaMillionsDraw': {
'game_name': 'mega-millions',
'db_table_name': 'mega_millions_draws',
'inception_year': os.getenv('LP_MEGA_MILLIONS_INCEPTION'),
'record_type': get_mega_millions_object,
'rule_date': os.getenv('LP_MEGA_MILLIONS_RULE_CHANGE_DATE'),
},
}