mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +03:00
ee3d1e770e
* Add data migration for creating and syncing location_data table and dictionary * Migration to populate location data * Daily cron to refresh location dataset if changed * Add support for visit:country_name, visit:region_name and visit:city_name dimensions Under the hood this relies on a `location_data` table in clickhouse being regularly synced with plausible/location repo and dictionary lookups used in ALIAS columns * Update queue name * Update documentation * Explicit structs * Improve docs further * Migration comment * Add queues * Add error when already loaded * Test for filtering by new dimensions * Update deps * dimension -> select_dimension * Update a test
4 lines
113 B
Elixir
4 lines
113 B
Elixir
ALTER TABLE location_data
|
|
<%= if @cluster? do %>ON CLUSTER '{cluster}'<% end %>
|
|
MODIFY COMMENT '<%= @version %>'
|