Skip to content

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

Imported channel migration (#4815)

Uku Taht0bbdbc9f4279
diff --git a/priv/ingest_repo/migrations/20241112222848_add_channel_to_imported_source.exs b/priv/ingest_repo/migrations/20241112222848_add_channel_to_imported_source.exs
new file mode 100644
index 0000000000..5fa9ea5df1
--- /dev/null
+++ b/priv/ingest_repo/migrations/20241112222848_add_channel_to_imported_source.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.IngestRepo.Migrations.AddChannelToImportedSource do
+ use Ecto.Migration
+
+ def change do
+ alter table(:imported_sources) do
+ add :channel, :"LowCardinality(String)"
+ end
+ end
+end