Skip to content

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

Add `label` column to `site_imports` schema (#3926)

Adrian Gruntkowski52c226c4288e
diff --git a/priv/repo/migrations/20240319094940_add_label_to_site_imports.exs b/priv/repo/migrations/20240319094940_add_label_to_site_imports.exs
new file mode 100644
index 0000000000..82276d659a
--- /dev/null
+++ b/priv/repo/migrations/20240319094940_add_label_to_site_imports.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.AddLabelToSiteImports do
+ use Ecto.Migration
+
+ def change do
+ alter table(:site_imports) do
+ add :label, :string
+ end
+ end
+end