zulip/analytics/migrations
Rishi Gupta 20255e48a4 analytics: Change messages_sent_to_stream to a daily stat.
Analytics database tables are getting big, and so we're likely moving to a
model where ~all stats are day stats, and we keep hourly stats only for the
last N days.

Also changed the name because:
* messages_sent_* suggests the counts (summed over subgroup) should be the
  same as the other messages_sent stats, but they are different (these don't
  include PMs).
* messages_sent_by_stream:is_bot:day is longer than 32 characters, the max
  allowable length for a BaseCount.property.

Includes a database migration to remove the old stat from the analytics
tables.
2017-03-03 16:11:28 -08:00
..
0001_initial.py Reorder the columns in analytics tables inherited from BaseCount. 2016-10-06 17:51:01 -07:00
0002_remove_huddlecount.py analytics: Remove HuddleCount for now. 2016-10-14 10:18:37 -07:00
0003_fillstate.py analytics: Add table to keep track of fill state. 2016-10-14 10:18:37 -07:00
0004_add_subgroup.py analytics: Add subgroup column to analytics tables. 2016-10-27 16:33:58 -07:00
0005_alter_field_size.py analytics: Alter field length for property and interval in BaseCount. 2016-10-27 16:33:58 -07:00
0006_add_subgroup_to_unique_constraints.py analytics/models.py: Add subgroup column to unique_together constraints. 2016-11-01 16:53:56 -07:00
0007_remove_interval.py analytics: Remove interval field from *Count tables. 2017-01-17 15:54:57 -08:00
0008_add_count_indexes.py analytics: Add indexes to optimize performance of aggregation. 2017-02-01 15:47:49 -08:00
0009_remove_messages_to_stream_stat.py analytics: Change messages_sent_to_stream to a daily stat. 2017-03-03 16:11:28 -08:00
__init__.py Add a new statistics/analytics framework. 2016-10-04 17:18:54 -07:00