Skip to content

Commit

Permalink
Update delete_old_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 committed Nov 27, 2024
1 parent 096ed8b commit fe2b595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/scripts/delete_old_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def delete_old_rows(cutoff_date: datetime):

async def main():
# Replace 'your_date_field' with the actual name of your date field
cutoff_date = datetime(2023, 12, 31)
cutoff_date = datetime(2024, 12, 31)

count = await count_old_rows(cutoff_date)
if count == 0:
Expand Down

0 comments on commit fe2b595

Please sign in to comment.