Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add city name to imported_locations table (#2633)

Vini Brasila730763838c7
diff --git a/priv/clickhouse_repo/migrations/20230124140348_add_city_name_to_imported_locations.exs b/priv/clickhouse_repo/migrations/20230124140348_add_city_name_to_imported_locations.exs
new file mode 100644
index 0000000000..58a649a7ed
--- /dev/null
+++ b/priv/clickhouse_repo/migrations/20230124140348_add_city_name_to_imported_locations.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.ClickhouseRepo.Migrations.AddCityNameToImportedLocations do
+ use Ecto.Migration
+
+ def change do
+ alter table(:imported_locations) do
+ add :city_name, :string
+ end
+ end
+end