diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-16 18:05:16 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-16 18:05:16 +0100 |
commit | cf7ca9decafac572f4f1025a0e298e16b0011d22 (patch) | |
tree | 35589b050183871addd15dc6f694c6c0ee559c54 /web | |
parent | e18f146bf041d565ff9b40dad7f55cf69a9a025d (diff) | |
download | taginfo-cf7ca9decafac572f4f1025a0e298e16b0011d22.tar taginfo-cf7ca9decafac572f4f1025a0e298e16b0011d22.tar.gz |
Bugfix: Fix search
Diffstat (limited to 'web')
-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 7240f05..29fb1b7 100644 --- a/web/lib/sql.rb +++ b/web/lib/sql.rb @@ -37,6 +37,7 @@ module SQL Source.each do |source| @db.execute("ATTACH DATABASE ? AS ?", "#{ @@dir }/#{ source.dbname }", source.id.to_s) end + @db.execute("ATTACH DATABASE ? AS search", "#{ @@dir }/taginfo-search.db") self end |