Commit graph

13 commits

Author SHA1 Message Date
Las Zenow
1536d97d8d Update to use pg/v10 2020-11-30 19:03:31 +00:00
endangered
8ffec7510a Fix getVisitedBooks and getDownloadedBooks queries, preventing persistent error every five minutes when front page data is updated 2019-11-30 10:55:26 +09:30
Las Zenow
defaa2ae0b Update to pg v9 2019-11-06 06:53:41 +00:00
Las Zenow
8b996803c8 Add download counter on each book
* Closes: #40
2018-11-19 03:14:26 +00:00
Las Zenow
c9b967a2ef Create tables, indexes, functions and triggers programatically 2017-09-21 21:05:06 +00:00
Las Zenow
d40dc21627 Cache front page results 2017-06-05 23:03:24 +00:00
Las Zenow
71d975c2f7 Keep count of downladed/viewed books 2017-05-30 22:10:21 +00:00
Las Zenow
0c3385200e Fix tag indexing 2017-05-21 11:05:39 +00:00
Las Zenow
15e1802a00 Fix tags updater and query parser 2017-05-21 10:56:52 +00:00
Las Zenow
18baa2938b Remove statistics and add frequent tags in memory 2017-05-21 10:55:53 +00:00
Las Zenow
7f9c172853 Rename author to authors and subject to tags 2017-05-21 10:47:00 +00:00
Las Zenow
e72de38725 [WIP] migration to psql
TODO:
[ ] stats
[ ] indexes
2017-05-21 10:44:43 +00:00
Las Zenow
9d1f1ad5c0 Move all the code to a lib folder 2016-05-02 21:41:40 -04:00
Renamed from database/stats.go (Browse further)