diff options
author | Jochen Topf <jochen@topf.org> | 2015-02-27 09:32:09 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2015-02-27 09:32:09 +0100 |
commit | d81547f3467db9601c8bda723b5607fa1e6b9a1e (patch) | |
tree | ddec4aa529917f42164808c7a714ecc28500483e /web/lib/sql.rb | |
parent | b27824c4b7696b0947861cf58c398716c8464d86 (diff) | |
download | taginfo-d81547f3467db9601c8bda723b5607fa1e6b9a1e.tar taginfo-d81547f3467db9601c8bda723b5607fa1e6b9a1e.tar.gz |
Add historic development report.
It shows the number of unique keys, tags, and relation types as it changes over
time.
Diffstat (limited to 'web/lib/sql.rb')
-rw-r--r-- | web/lib/sql.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/sql.rb b/web/lib/sql.rb index 2845858..030cf37 100644 --- a/web/lib/sql.rb +++ b/web/lib/sql.rb @@ -38,6 +38,7 @@ module SQL @db.execute("ATTACH DATABASE ? AS ?", "#{ @@dir }/#{ source.dbname }", source.id.to_s) end @db.execute("ATTACH DATABASE ? AS search", "#{ @@dir }/taginfo-search.db") + @db.execute("ATTACH DATABASE ? AS history", "#{ @@dir }/taginfo-history.db") self end |