Commit Graph

12 Commits

Author SHA1 Message Date
Danny van Kooten 3c934b29fc add is_finished column indicating whether a pageview is done (ready to be aggregated). closes #123 2018-10-10 10:27:55 +02:00
Danny van Kooten c877319046 fix DROP INDEX statements for mysql 2018-10-10 10:27:16 +02:00
Danny van Kooten 2f64d56771 alter stats table constraints to take site_id column into consideration 2018-10-10 09:30:52 +02:00
Danny van Kooten 84cd897319 use auto increment column for pk on sites table 2018-10-09 11:17:26 +02:00
Danny van Kooten 80088570b0 default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00
Danny van Kooten f0eecc04cd add sites table & site_id columns for multi-site tracking #50 2018-09-25 15:03:07 +02:00
Danny 42008ab83f get rid of session_id and move knowledge of previous pageview to client. this also gets rid of the (only) index on the pageviews table, allowing for much faster INSERT's. closes #14 2018-07-11 15:03:56 +02:00
Danny 958e653b1f set explicit charset for mysql tables to workaround key limit of 7xx bytes. #58 2018-06-13 09:56:32 +02:00
Danny 8c6e07255f failsafe sql for referrer migrations 2018-06-01 13:21:40 +02:00
Danny 071ea5ace0 split hostname and pathname in referrers table 2018-05-30 12:50:28 +02:00
Danny df7496a80d add known_durations column and use that for calculating duration averages, instead of total # pageviews 2018-05-28 15:31:40 +02:00
Danny c30e5b3120 introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00