Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed May 8, 2024
1 parent 25879ea commit 5f5f63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def log_request(response):
#Migrations
cursor.execute('''DROP TABLE IF EXISTS games''')
cursor.execute('''DROP TABLE IF EXISTS games_v2''')
cursor.execute('''DELETE FROM cache WHERE timestamp > 1715207330''')
cursor.execute('''DELETE FROM cache WHERE timestamp < 1715207330''')

#Init
cursor.execute('''CREATE TABLE IF NOT EXISTS cache (url TEXT PRIMARY KEY, data TEXT, timestamp REAL)''')
Expand Down

0 comments on commit 5f5f63a

Please sign in to comment.