Keep count of downladed/viewed books

This commit is contained in:
Las Zenow 2017-05-30 22:10:21 +00:00
parent 68ffe6cf5b
commit 71d975c2f7
7 changed files with 109 additions and 91 deletions

View file

@ -24,6 +24,7 @@ type Book struct {
Active bool `sql:",notnull"`
UploadDate time.Time
Tsv string
Visit *Visit
}
// AddBook to the database