Katie Smith
c6c118fea1
Update created_at column of ft_billing to be non-nullable
...
`created_at` was added previously and made nullable temporarily. This
commit now populates the column, ensures that it will always have a
value, and makes `created_at` non-nullable.
2018-05-23 11:09:13 +01:00
Rebecca Law
40d8f78b2b
Convert the day_start from a string to a datetime.
2018-05-15 14:00:06 +01:00
Rebecca Law
271ce6d76e
Changed the update/insert to a postgres upsert to avoid concurrency issues.
2018-05-15 11:21:10 +01:00
Rebecca Law
16ef133aa5
Refactor reporting task so that methods can be used for the annual usage page.
...
Still a work in progress, tests are coming.
2018-04-25 14:45:51 +01:00
venusbb
52aeec2247
bug fix: use date only when comparing unique records rather than datetime
2018-03-29 11:42:31 +01:00
venusbb
2262db4f62
Database tweak and BST bug fix
2018-03-27 10:37:56 +01:00
venusbb
cf019864e2
Preserve 'unknown' in ft_billing for sms if the provider is not known.
2018-03-21 09:50:34 +00:00
venusbb
bb95a2784f
Create schedueled job, fixed tests
2018-03-16 09:22:34 +00:00
venusbb
5d7d4a0dd6
Added test for reporting tasks
2018-03-14 17:07:52 +00:00