diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-21 18:44:17 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-21 18:44:17 +0000 |
commit | 8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942 (patch) | |
tree | e5c10e9a0dddb3c04433ccbd1239ffb5935dd528 /web/web.rb | |
parent | 844da00b5cf38b1478f2234170451935b3b6c563 (diff) | |
download | lingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.tar.gz lingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.tar.bz2 lingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.zip |
Fixed scoreboard not working for the entire past year
Diffstat (limited to 'web/web.rb')
-rw-r--r-- | web/web.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/web.rb b/web/web.rb index 15c088e..8685de3 100644 --- a/web/web.rb +++ b/web/web.rb | |||
@@ -10,6 +10,8 @@ use Rack::Cache | |||
10 | config = YAML.load(open("config.yml")) | 10 | config = YAML.load(open("config.yml")) |
11 | db = Sequel.connect("sqlite://#{config["database"]}") | 11 | db = Sequel.connect("sqlite://#{config["database"]}") |
12 | 12 | ||
13 | Sequel::Model.plugin :timestamps | ||
14 | |||
13 | class LingoScore < Sequel::Model | 15 | class LingoScore < Sequel::Model |
14 | end | 16 | end |
15 | 17 | ||