From 55c5e4d09b77b02c61842c8f52aa967fb02e9ce6 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Wed, 27 Mar 2024 10:01:54 +0100 Subject: [PATCH] CH Migration: exit/entry hostnames in sessions_v2 --- .../20240327085855_hostnames_in_sessions.exs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 priv/ingest_repo/migrations/20240327085855_hostnames_in_sessions.exs diff --git a/priv/ingest_repo/migrations/20240327085855_hostnames_in_sessions.exs b/priv/ingest_repo/migrations/20240327085855_hostnames_in_sessions.exs new file mode 100644 index 000000000..a637ba40d --- /dev/null +++ b/priv/ingest_repo/migrations/20240327085855_hostnames_in_sessions.exs @@ -0,0 +1,10 @@ +defmodule Plausible.ClickhouseRepo.Migrations.HostnamesInSessions do + use Ecto.Migration + + def change do + alter table(:sessions_v2) do + add(:entry_page_hostname, :string) + add(:exit_page_hostname, :string) + end + end +end