From a43226f54a3623d02f2b3610fac8cf4ece7ec8f0 Mon Sep 17 00:00:00 2001 From: Azareal Date: Sun, 3 Jan 2021 08:08:49 +1000 Subject: [PATCH] Oops. --- cmd/query_gen/tables.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/query_gen/tables.go b/cmd/query_gen/tables.go index 5d512e3b..168c5e35 100644 --- a/cmd/query_gen/tables.go +++ b/cmd/query_gen/tables.go @@ -321,9 +321,12 @@ func createTables2(a qgen.Adapter, f func(table, charset, collation string, colu tC{"attachCount", "int", 0, false, false, "0"}, tC{"words", "int", 0, false, false, "0"}, tC{"views", "int", 0, false, false, "0"}, - //tC{"dailyViews", "int", 0, false, false, "0"}, - //tC{"weeklyViews", "int", 0, false, false, "0"}, - //tC{"monthlyViews", "int", 0, false, false, "0"}, + //tC{"dayViews", "int", 0, false, false, "0"}, + tC{"weekEvenViews", "int", 0, false, false, "0"}, + tC{"weekOddViews", "int", 0, false, false, "0"}, + ///tC{"weekViews", "int", 0, false, false, "0"}, + ///tC{"lastWeekViews", "int", 0, false, false, "0"}, + //tC{"monthViews", "int", 0, false, false, "0"}, // ? - A little hacky, maybe we could do something less likely to bite us with huge numbers of topics? // TODO: Add an index for this? //tC{"lastMonth", "datetime", 0, false, false, ""},