fathom/pkg/datastore/sqlstore/migrations/postgres
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
..
1_initial_tables.sql fix postgres errors by converting to null in divisions. closes #54 relates to #52 2018-06-08 15:39:38 +02:00
2_known_durations_column.sql add known_durations column and use that for calculating duration averages, instead of total # pageviews 2018-05-28 15:31:40 +02:00
3_referrer_group_column.sql Fix Postgres Migration 2018-06-07 16:36:31 -04:00
4_pageview_id_column.sql 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
5_create_sites_table.sql add sites table & site_id columns for multi-site tracking #50 2018-09-25 15:03:07 +02:00
6_add_site_tracking_id_column_to_pageviews_table.sql add sites table & site_id columns for multi-site tracking #50 2018-09-25 15:03:07 +02:00
7_add_site_id_to_site_stats_table.sql default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00
8_add_site_id_to_page_stats_table.sql default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00
9_add_site_id_to_referrer_stats_table.sql default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00
10_alter_numeric_column_precision.sql change precision on numeric columns for postgres so we don't have to apply rounding. closes #116 2018-10-09 13:27:50 +02:00
11_alter_stats_table_constraints.sql alter stats table constraints to take site_id column into consideration 2018-10-10 09:30:52 +02:00
12_add_pageview_finished_column.sql add is_finished column indicating whether a pageview is done (ready to be aggregated). closes #123 2018-10-10 10:27:55 +02:00