sectors code added

This commit is contained in:
Finn 2017-12-15 15:30:47 +00:00
parent 8c811d52bf
commit 2012e67273
4 changed files with 26 additions and 3 deletions

View file

@ -13,6 +13,8 @@ __PACKAGE__->result_source_instance->view_definition( qq/
SELECT "value",
"distance",
"purchase_time",
"buyer_id",
"seller_id",
DATE_TRUNC('hour', "purchase_time") AS "quantised_hours",
DATE_TRUNC('day', "purchase_time") AS "quantised_days",
DATE_TRUNC('week', "purchase_time") AS "quantised_weeks"